diff --git a/src/Home.tsx b/src/Home.tsx index 93bcf2b62..5dec94fe9 100644 --- a/src/Home.tsx +++ b/src/Home.tsx @@ -52,7 +52,7 @@ const Home = (props: HomeProps) => { severity: undefined, }); - const [startDate, setStartDate] = useState(new Date(props.startDate)); + const [startDate, setStartDate] = useState(new Date(props.startDate * 1000)); const wallet = useAnchorWallet(); const [candyMachine, setCandyMachine] = useState();