From 193164566a63c2345d11c5f746eee8a30b8c8f70 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Thu, 26 Dec 2024 14:40:55 +0800 Subject: [PATCH 1/2] test: biome --- components/ThemeSwitcher.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/ThemeSwitcher.tsx b/components/ThemeSwitcher.tsx index 286fab84b..5d577ee79 100644 --- a/components/ThemeSwitcher.tsx +++ b/components/ThemeSwitcher.tsx @@ -13,6 +13,7 @@ import { Moon, Sun } from "lucide-react" import { useTranslations } from "next-intl" import { useTheme } from "next-themes" + export function ModeToggle() { const { setTheme, theme } = useTheme() const t = useTranslations("ThemeSwitcher") From a9a25f821879cae8ec2d17a7a1bae5452abeb40b Mon Sep 17 00:00:00 2001 From: hamster1963 Date: Thu, 26 Dec 2024 06:41:34 +0000 Subject: [PATCH 2/2] chore: auto-fix linting and formatting issues --- bun.lockb | Bin 624346 -> 624346 bytes components/ThemeSwitcher.tsx | 1 - 2 files changed, 1 deletion(-) diff --git a/bun.lockb b/bun.lockb index 3c94f282b151296e10193dae538273a19e912cc2..2d29224d87f5478b6e18a57a1d37b21cc6bfe875 100755 GIT binary patch delta 5896 zcmYM&2YeJ|9>($6z?%>VB30oaQUoNNK!6Ye!~^LdO9<~>= zQ#VOgpZ0#)WGo^;8i0qj@l+KiW2wAjJI7(!6SSwvQZeUCPH~sYJ<7Ex$Ev@ptTpYj zvNx~@UuLR1-nl(jr3$MSs;n#Rj=EBdWGPs0*2avk54VdkCAW4#Kk`2Nd-0v{hjM=AtFiDnWscs1Nt*+LV+`4cO3LPT*>>3o?3U~U*|XS>vK_MLu>Z(*%0^;8g@wC>&x1e9cFSJCZp-$_ zMq$6m_R3zw?#TAZMq|IqK9r5Y?#jaZg=4{c!jEL*u-{|{WaF_vWCvvvu)Mk?hh!5m zCp#>gghk1Y+_!Kr87wCJScOxt60)PRsaTxsn2f6zRFxf~r)I zsaC*x;PHuYI_>Hz{7jaH#mhd&?87yK9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hLj=`=Y+$Z-)uW*0NCYKP_ke8mxxpw)7Ho3@% zzC7(udXbL)g-x!1X}b~Hl-Mh3aLt}k?Q1GQiBwvYg_GGas{nPIZ}}nAp;ny_M`zxW9U0!Z;G+XK!)UOC)ie z{SP~s{u9{tAzR6|@T|D4E+n|n6b|h~?AuB+6642jch80OWN>?vKK}ge?&%?RZ?=1} zeaWyd74{{f8?hU0Gt!*c_XYcYVBZJq{%`ktyS-E=vl24g?4aNlq5hQ}uAKi=CX;_}rYq?$+UfE}JULy?;eL}$SGnk6&R~nCEt0k< z=9Kt_GTqZ*+vs>Z$*{`Epzi*|9j;8)rA)Ut=>K}M@+{8quxSXx$0IfMu_GZQG%NLS IzAkhB2dOV diff --git a/components/ThemeSwitcher.tsx b/components/ThemeSwitcher.tsx index 5d577ee79..286fab84b 100644 --- a/components/ThemeSwitcher.tsx +++ b/components/ThemeSwitcher.tsx @@ -13,7 +13,6 @@ import { Moon, Sun } from "lucide-react" import { useTranslations } from "next-intl" import { useTheme } from "next-themes" - export function ModeToggle() { const { setTheme, theme } = useTheme() const t = useTranslations("ThemeSwitcher")