chore: fixes from deno linting/formatting
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
import { Button } from "@components/UI/Button.tsx";
|
||||
import type { LucideIcon } from "lucide-react";
|
||||
import type { JSX } from "react";
|
||||
|
||||
export interface SidebarButtonProps {
|
||||
label: string;
|
||||
active?: boolean;
|
||||
Icon?: LucideIcon;
|
||||
element?: JSX.Element;
|
||||
element?;
|
||||
onClick?: () => void;
|
||||
}
|
||||
|
||||
@@ -16,7 +15,7 @@ export const SidebarButton = ({
|
||||
Icon,
|
||||
element,
|
||||
onClick,
|
||||
}: SidebarButtonProps): JSX.Element => (
|
||||
}: SidebarButtonProps) => (
|
||||
<Button
|
||||
onClick={onClick}
|
||||
variant={active ? "subtle" : "ghost"}
|
||||
|
||||
Reference in New Issue
Block a user