mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: undefined string
This commit is contained in:
1 parent
4d462508bc
commit
e6d2817524
1 file changed
+1
-1
@@ -217,7 +217,7 @@ export default function Navbar() {
|
|||||||
<Dialog.Close key={region}>
|
<Dialog.Close key={region}>
|
||||||
<Link
|
<Link
|
||||||
href={
|
href={
|
||||||
typeof window !== undefined
|
typeof window !== 'undefined'
|
||||||
? `https://api.worldoftanks.${region}/wot/auth/login/?application_id=${WARGAMING_APPLICATION_ID}&redirect_uri=${encodeURIComponent(
|
? `https://api.worldoftanks.${region}/wot/auth/login/?application_id=${WARGAMING_APPLICATION_ID}&redirect_uri=${encodeURIComponent(
|
||||||
`${location.origin}/auth/wargaming?return=${location.origin}${location.pathname}`,
|
`${location.origin}/auth/wargaming?return=${location.origin}${location.pathname}`,
|
||||||
)}`
|
)}`
|
||||||
|
|||||||
Reference in new issue
Block a user