Commit 6a798f0 1 parent 2cc9d59 commit 6a798f0 Copy full SHA for 6a798f0
File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
'use client'
2
+
2
3
import { useSearchParams } from 'next/navigation'
3
- export default async function Page ( ) {
4
+ import { Suspense } from 'react'
5
+
6
+ export default function Page ( ) {
4
7
const searchParams = useSearchParams ( )
5
8
const game = searchParams . get ( 'game' )
6
9
const urlPrefix = "0; URL=com.epicgames.launcher://store"
7
10
var content = game == null ? urlPrefix : urlPrefix + "/p/" + game
8
- return < head className = 'redirect' >
9
- < meta http-equiv = "refresh" content = { content } />
10
- redirecting to desktop app ...
11
- </ head >
11
+ return < Suspense >
12
+ < head className = 'redirect' >
13
+ < meta http-equiv = "refresh" content = { content } />
14
+ redirecting to desktop app ...
15
+ </ head >
16
+ </ Suspense >
12
17
}
You can’t perform that action at this time.
0 commit comments