Closed d3r3j3 closed 3 years ago
I think you might need to do a git pull cause there are some merge conflicts
Yep there will be merge conflicts. Just run npm i
and then keep the package-lock.json that it comes up with
For second page, keep yours but add the three lines to the top of the function.
So for src/SecondPage.js
make
export default function SecondPage() {
return (
into
export default function SecondPage() {
React.useEffect(() => {
confetti({ colors: [ [ '#fe8c00', '#ffffff' ], [ '#fe8c00', '#ffffff' ] ], timeout: 25 });
}, []);
return (
and add
import confetti from "./confetti.js";
to the top of the file.
Everything else is good though!
yeah should probably still do git pull though cause the most recent commit changed a dependency and that'll make sure it's updated and your commit isn't trying to revert that
Sorry if variable names are bad.
Closes #6