diff --git a/pages/index.js b/pages/index.js index bd2bfcd43..3201283b0 100644 --- a/pages/index.js +++ b/pages/index.js @@ -28,7 +28,6 @@ import Workshops from '../components/index/cards/workshops' import HCB from '../components/index/cards/hcb' import Hackathons from '../components/index/cards/hackathons' import OuternetImgFile from '../public/home/outernet-110.jpg' -import Announcement from '../components/announcement' import Konami from 'react-konami-code' import JSConfetti from 'js-confetti' import Secret from '../components/secret' @@ -40,7 +39,6 @@ import Photo from '../components/photo' import Comma from '../components/comma' import Haxidraw from '../components/index/cards/haxidraw' import Onboard from '../components/index/cards/onboard' -import Trail from '../components/index/cards/trail' /** @jsxImportSource theme-ui */ @@ -670,7 +668,6 @@ function Page({ - @@ -1270,9 +1267,9 @@ export async function getStaticProps() { let events = [] try { - await fetch( - 'https://events.hackclub.com/api/events/upcoming/' - ).then(res => res.json()) + await fetch('https://events.hackclub.com/api/events/upcoming/').then(res => + res.json() + ) } catch (error) { console.error('Error fetching events:', error) }