diff --git a/package.json b/package.json index ad6b5dd..6ebfca4 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@material-ui/icons": "^4.11.2", "axios": "^0.24.0", "framer-motion": "^4", - "mongodb": "^4.1.4", + "mongodb": "^3.5.9", "next": "^12.0.4", "next-auth": "^3.27.0", "react": "^17.0.2", diff --git a/pages/discord.js b/pages/discord.js new file mode 100644 index 0000000..a0e4727 --- /dev/null +++ b/pages/discord.js @@ -0,0 +1,9 @@ +import {useRouter} from "next/router"; +import {useEffect} from "react"; +export default function discord() { + const page = useRouter(); + useEffect(() => { + page.push("http://discord.gg/SbQHChmGcp"); + }, []); + return () => null; +}