From cd44e6f570864fe63e2d79d9e906305025009949 Mon Sep 17 00:00:00 2001 From: Triston Armstrong Date: Thu, 10 Oct 2024 08:23:30 -0400 Subject: [PATCH] fix broken code --- src/components/TextItem.tsx | 2 -- src/components/cardSelector/TextButton.tsx | 17 ----------------- 2 files changed, 19 deletions(-) diff --git a/src/components/TextItem.tsx b/src/components/TextItem.tsx index 7e1775a..1455343 100644 --- a/src/components/TextItem.tsx +++ b/src/components/TextItem.tsx @@ -3,7 +3,6 @@ import { TextSignal, focusedItem } from "../signals" import { useDebounce } from "../utils/useDebounce" import texts, { TextCardType } from "../signals/texts" import { LayerEnum } from "../utils/enums" -import { isTheme } from "../utils/isTheme" namespace TextItem { export interface TextCardProps { @@ -13,7 +12,6 @@ namespace TextItem { } export function TextItem({ key: itemKey, data: item }: TextItem.TextCardProps) { - const saved = signal(true) const pressed = signal(false) const newX = useRef(0) const newY = useRef(0) diff --git a/src/components/cardSelector/TextButton.tsx b/src/components/cardSelector/TextButton.tsx index 948d1a4..2b1d925 100644 --- a/src/components/cardSelector/TextButton.tsx +++ b/src/components/cardSelector/TextButton.tsx @@ -42,22 +42,5 @@ export function TextButton() { - - - - - ) }