Skip to content

Commit

Permalink
fix: Update page.tsx
Browse files Browse the repository at this point in the history
Take 2

Signed-off-by: Frostyfrog <frostyfrog@users.noreply.github.com>
  • Loading branch information
Frostyfrog authored Apr 2, 2024
1 parent 81a3ee6 commit 62ede1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/wyvern/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { useQueryState } from 'next-usequerystate'
}
*/

const isMobile = navigator ? navigator.userAgentData?.mobile : false; //resolves true/false
const isMobile = typeof navigator !== "undefined" ? navigator.userAgentData?.mobile : false; //resolves true/false

function RenderChat() {
//const searchParams = useSearchParams()
Expand Down

0 comments on commit 62ede1c

Please sign in to comment.