Suspense on <TrackingSDK>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { Suspense } from "react"
|
||||
|
||||
import { serverClient } from "@/lib/trpc/server"
|
||||
|
||||
import Blocks from "@/components/Blocks"
|
||||
@@ -45,8 +47,9 @@ export default async function LoyaltyPage() {
|
||||
) : null}
|
||||
</MaxWidth>
|
||||
</section>
|
||||
|
||||
<TrackingSDK pageData={tracking} />
|
||||
<Suspense fallback={null}>
|
||||
<TrackingSDK pageData={tracking} />
|
||||
</Suspense>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user