diff --git a/devclean-ui/src/components/about-drawer.tsx b/devclean-ui/src/components/about-drawer.tsx index a5466ab..68aa290 100644 --- a/devclean-ui/src/components/about-drawer.tsx +++ b/devclean-ui/src/components/about-drawer.tsx @@ -1,9 +1,7 @@ -import * as React from "react"; -import { MinusIcon, PlusIcon, InfoCircledIcon } from "@radix-ui/react-icons"; +import { InfoCircledIcon } from "@radix-ui/react-icons"; import { Button } from "@/components/ui/button"; import { Drawer, - DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, @@ -13,55 +11,7 @@ import { } from "@/components/ui/drawer"; import { About } from "./about"; -const data = [ - { - goal: 400, - }, - { - goal: 300, - }, - { - goal: 200, - }, - { - goal: 300, - }, - { - goal: 200, - }, - { - goal: 278, - }, - { - goal: 189, - }, - { - goal: 239, - }, - { - goal: 300, - }, - { - goal: 200, - }, - { - goal: 278, - }, - { - goal: 189, - }, - { - goal: 349, - }, -]; - export function AboutDrawer() { - const [goal, setGoal] = React.useState(350); - - function onClick(adjustment: number) { - setGoal(Math.max(200, Math.min(400, goal + adjustment))); - } - return ( diff --git a/devclean-ui/src/components/about-sheet.tsx b/devclean-ui/src/components/about-sheet.tsx index 63b79ef..eaa83c0 100644 --- a/devclean-ui/src/components/about-sheet.tsx +++ b/devclean-ui/src/components/about-sheet.tsx @@ -1,12 +1,8 @@ import { Button } from "@/components/ui/button"; -import { Input } from "@/components/ui/input"; -import { Label } from "@/components/ui/label"; import { Sheet, - SheetClose, SheetContent, SheetDescription, - SheetFooter, SheetHeader, SheetTitle, SheetTrigger, diff --git a/devclean-ui/src/components/pages/home.tsx b/devclean-ui/src/components/pages/home.tsx index 7b2e7bb..387d36a 100644 --- a/devclean-ui/src/components/pages/home.tsx +++ b/devclean-ui/src/components/pages/home.tsx @@ -12,7 +12,6 @@ import { FileIcon, MagnifyingGlassIcon, } from "@radix-ui/react-icons"; -import { AboutDrawer } from "../about-drawer"; import { AboutSheet } from "../about-sheet"; export function HomePage() {