minor cleanup
This commit is contained in:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user