引入 husky,并全局重新格式化
This commit is contained in:
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user