Skip to content

Commit

Permalink
fix: Await feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hampfh committed Nov 9, 2024
1 parent d136df2 commit 1f9e98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/student/map/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { notFound } from "next/navigation"
import { Suspense } from "react"

export default async function Page() {
if (!feature("MAP_PAGE")) {
if (!(await feature("MAP_PAGE"))) {
return notFound()
}

Expand Down

0 comments on commit 1f9e98b

Please sign in to comment.