Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdv committed Aug 19, 2024
1 parent a0df650 commit efda1a6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Button from "./components/button";
import EthButton from "./components/ethButton";
import Stats from "./components/stats";
import Countdown from "./components/countdown";
import { useEffect, useMemo, useState } from "react";
import { Suspense, useEffect, useMemo, useState } from "react";
import { useAccount, useConnect, useDisconnect } from "@starknet-react/core";
import { NetworkType, RemainingClicks } from "@/constants/types";
import ConnectModal from "./components/connection/connectModal";
Expand Down Expand Up @@ -854,10 +854,12 @@ export default function Home() {
<Notification visible={showErrorMsg} onClose={closeErrorMsg}>
<>{errorMsg}</>
</Notification>
<NotifXTicket
hasClaimedX={hasClaimedX}
setHasClaimedX={setHasClaimedX}
/>
<Suspense>
<NotifXTicket
hasClaimedX={hasClaimedX}
setHasClaimedX={setHasClaimedX}
/>
</Suspense>
</>
)}
</>
Expand Down

0 comments on commit efda1a6

Please sign in to comment.