minor cleanup

This commit is contained in:
yohlo
2025-09-21 11:38:10 -05:00
parent 1027b49258
commit fc3f626313
4 changed files with 8 additions and 4 deletions

View File

@@ -6,14 +6,16 @@ interface ListLinkProps {
label: string;
to: string;
Icon?: Icon;
disabled?: boolean
}
const ListLink = ({ label, to, Icon }: ListLinkProps) => {
const ListLink = ({ label, to, Icon, disabled=false }: ListLinkProps) => {
const navigate = useNavigate();
return (
<>
<NavLink
disabled={disabled}
w="100%"
p="md"
component={"button"}