feat: add react-hot-toast in admin and news layouts, and update ads form handling

This commit is contained in:
Ardeman
2025-03-12 19:20:59 +08:00
parent 4a21b7d331
commit f026277a88
5 changed files with 36 additions and 7 deletions
+2
View File
@@ -1,10 +1,12 @@
import type { PropsWithChildren } from 'react'
import { Toaster } from 'react-hot-toast'
export const AdminDefaultLayout = (properties: PropsWithChildren) => {
const { children } = properties
return (
<main className="font-admin relative min-h-dvh bg-[#F7F8FC]">
{children}
<Toaster />
</main>
)
}