Skip to content

Commit 1f9e98b

Browse files
committed
fix: Await feature flag
1 parent d136df2 commit 1f9e98b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/student/map/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { notFound } from "next/navigation"
1111
import { Suspense } from "react"
1212

1313
export default async function Page() {
14-
if (!feature("MAP_PAGE")) {
14+
if (!(await feature("MAP_PAGE"))) {
1515
return notFound()
1616
}
1717

0 commit comments

Comments
 (0)