fix: undefined string

This commit is contained in:
TrèsAbhi committed 2024-06-15 14:07:25 -05:00
1 parent 4d462508bc
commit e6d2817524
1 file changed
+1 -1
+1 -1
View File
@@ -217,7 +217,7 @@ export default function Navbar() {
<Dialog.Close key={region}>
<Link
href={
typeof window !== undefined
typeof window !== 'undefined'
? `https://api.worldoftanks.${region}/wot/auth/login/?application_id=${WARGAMING_APPLICATION_ID}&redirect_uri=${encodeURIComponent(
`${location.origin}/auth/wargaming?return=${location.origin}${location.pathname}`,
)}`