fix(next) : allow blocking routes without loading fallbacks
This commit is contained in:
@@ -7,6 +7,8 @@ import { getCachedPublicGuide } from "@/lib/cache/public";
|
||||
|
||||
type Params = Promise<{ character: string; page: string }>;
|
||||
|
||||
export const instant = false;
|
||||
|
||||
export async function generateMetadata({ params }: { params: Params }): Promise<Metadata> {
|
||||
await connection();
|
||||
const { character } = await params;
|
||||
|
||||
@@ -7,6 +7,8 @@ import { getCachedPublicGuide } from "@/lib/cache/public";
|
||||
|
||||
type Params = Promise<{ character: string }>;
|
||||
|
||||
export const instant = false;
|
||||
|
||||
export async function generateMetadata({
|
||||
params,
|
||||
}: {
|
||||
|
||||
Reference in New Issue
Block a user