From adc946e34c342649f917f7f84ccecc714d664f89 Mon Sep 17 00:00:00 2001 From: Mikael Brevik Date: Wed, 12 Jun 2024 23:22:31 +0200 Subject: [PATCH] chore: dang strictness --- pages/refill.tsx | 92 ------------------------------------------------ 1 file changed, 92 deletions(-) diff --git a/pages/refill.tsx b/pages/refill.tsx index 427d3b6a9..661aa3280 100644 --- a/pages/refill.tsx +++ b/pages/refill.tsx @@ -1,5 +1,4 @@ import Image from 'next/image'; -import { useState } from 'react'; import RefillLayout from 'src/refill/layout'; import style from 'src/refill/refill.module.css'; @@ -82,8 +81,6 @@ const design: ProgramItemProps[] = [ ]; export default function Refill() { - const [panel, setPanel] = useState<'design' | 'dev'>('design'); - return (
@@ -133,27 +130,6 @@ export default function Refill() { ); } -type YoutubeEmbedProps = { - title: string; - src: string; -}; -function EmbedYouTube({ title, src }: YoutubeEmbedProps) { - return ( -
- -
- ); -} - type ProgramItemProps = { speaker: { name: string; @@ -185,71 +161,3 @@ function Speaker({ name, src }: ProgramItemProps['speaker']) { ); } - -function DownloadIcont() { - return ( - - - - ); -} - -function CalendarIcon() { - return ( - - - - - - - - - - - - - - - - - ); -}