fix broken code

This commit is contained in:
Triston Armstrong 2024-10-10 08:23:30 -04:00
parent 3d61f28aa0
commit cd44e6f570
Signed by: tristonarmstrong
GPG Key ID: A23B48AE45EB6EFE
2 changed files with 0 additions and 19 deletions

View File

@ -3,7 +3,6 @@ import { TextSignal, focusedItem } from "../signals"
import { useDebounce } from "../utils/useDebounce" import { useDebounce } from "../utils/useDebounce"
import texts, { TextCardType } from "../signals/texts" import texts, { TextCardType } from "../signals/texts"
import { LayerEnum } from "../utils/enums" import { LayerEnum } from "../utils/enums"
import { isTheme } from "../utils/isTheme"
namespace TextItem { namespace TextItem {
export interface TextCardProps { export interface TextCardProps {
@ -13,7 +12,6 @@ namespace TextItem {
} }
export function TextItem({ key: itemKey, data: item }: TextItem.TextCardProps) { export function TextItem({ key: itemKey, data: item }: TextItem.TextCardProps) {
const saved = signal(true)
const pressed = signal(false) const pressed = signal(false)
const newX = useRef(0) const newX = useRef(0)
const newY = useRef(0) const newY = useRef(0)

View File

@ -42,22 +42,5 @@ export function TextButton() {
<path d="M8 12h8" /> <path d="M8 12h8" />
</svg> </svg>
</Tooltip> </Tooltip>
<svg
onclick={_handleClick}
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
className={defaultClassName}
>
<path d="M4 20h16" />
<path d="m6 16 6-12 6 12" />
<path d="M8 12h8" />
</svg>
) )
} }