From 42655b9106faf0ef099847b6603defa7f2e8007b Mon Sep 17 00:00:00 2001 From: John Zhou Date: Thu, 31 Oct 2024 13:46:48 -0700 Subject: [PATCH] format --- src/components/admin/dashboards/dashboard/toolbar.jsx | 2 +- src/components/ui/button.tsx | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/components/admin/dashboards/dashboard/toolbar.jsx b/src/components/admin/dashboards/dashboard/toolbar.jsx index fa9100eeb..f7877e121 100644 --- a/src/components/admin/dashboards/dashboard/toolbar.jsx +++ b/src/components/admin/dashboards/dashboard/toolbar.jsx @@ -167,7 +167,7 @@ const Toolbar = ({ COLORS[tag.value]?.background, COLORS[tag.value]?.text, COLORS[tag.value]?.hover, - "text-nowrap" + "text-nowrap", )} > {tag.text} diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index cefb3f78b..d40edb0d4 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -42,16 +42,12 @@ export interface ButtonProps } const Button = React.forwardRef( - ( - { className, variant, size, asChild = false, ...props }, - ref, - ) => { + ({ className, variant, size, asChild = false, ...props }, ref) => { const Comp = asChild ? Slot : "button"; - return (