Clean up and typing

This commit is contained in:
Sean Edmunds
2025-03-27 16:22:34 -05:00
parent b46d89721e
commit 67293b20ca
47 changed files with 450 additions and 540 deletions

View File

@@ -5,9 +5,9 @@ import { useState } from 'react';
import { stackClasses, textClasses } from 'styles';
function AppItem({ url, icon, name }: any) {
const { isMobile } = useCommonHooks();
const [textDecoration, setTextDecoration] = useState<string>('none');
const [hover, setHover] = useState<boolean>(false);
const { isMobile } = useCommonHooks();
const validUrl =
url.startsWith('http://') || url.startsWith('https://') ? url : `http://${url}`;
return (