Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<p>useragent: { useragent }</p>
<p>isServer: { isServer ? 'y' : 'n' }</p>
{ ua.isMobile ? (
<p>Mobile</p>
) : (
<p>Desktop</p>
) }
<a>Go to second.</a>
)
}
}
export default withUserAgent(IndexPage)