引入 husky,并全局重新格式化

This commit is contained in:
2025-06-07 11:49:57 +08:00
parent 05fce179c9
commit c7527177b0
89 changed files with 2140 additions and 1899 deletions

View File

@@ -22,7 +22,6 @@ export default async function RootLayout({
}: Readonly<{
children: ReactNode
}>) {
const result = await getProfile()
const user = result.success ? result.data : null
@@ -32,7 +31,7 @@ export default async function RootLayout({
<StoreProvider user={user}>
{children}
</StoreProvider>
<Toaster position={'top-center'} richColors expand/>
<Toaster position="top-center" richColors expand/>
</body>
</html>
)