Skip to content

Commit

Permalink
fix: fix document is not defind bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dada878 committed Dec 2, 2024
1 parent 49b36c4 commit 5fcb78c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/cfp/(submission)/_components/early-bird.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export function EarlyBirdHome() {

if (!SHOW_EARLY_BIRD) return null;

if (typeof window !== "object") return null;

return (
<>
{!isExpired ? (
Expand Down

0 comments on commit 5fcb78c

Please sign in to comment.