diff --git a/pages/index.tsx b/pages/index.tsx index 6b10e3b..3ba8a12 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -5,7 +5,6 @@ import useSWR from 'swr' import FadeIn from 'react-fade-in' import { socials } from 'components/data/socials' -import { Footer } from 'components/Footer' import { Icon } from 'components/Icon' import { Toaster } from 'react-hot-toast' import { FaSpotify } from 'react-icons/fa' @@ -16,7 +15,6 @@ const fetcher = (url: RequestInfo) => fetch(url).then(r => r.json()) export default function() { const { data: spotify } = useSWR('/api/spotify', fetcher, { refreshInterval: 1000 }) - if(!spotify) return return ( @@ -28,7 +26,7 @@ export default function() {
- { Math.floor((new Date().getTime() - new Date(07/22/2004).getTime()) / (1000 * 60 * 60 * 24 * 365.25)) } + { Math.floor((new Date().getTime() - new Date('2004-07-22').getTime()) / (1000 * 60 * 60 * 24 * 365.25)) } yrs old system administrator and student from Hungary
@@ -57,7 +55,6 @@ export default function() { -