summaryrefslogtreecommitdiff
path: root/client/src/main.tsx
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2024-09-21 08:00:39 -0700
committerMichael Hunteman <michael@huntm.net>2024-09-21 11:39:18 -0700
commit2133253836de428e58b4ba1c9b7e863485b6b870 (patch)
tree9c175fd811975a21fcf60a5b14004443d32fe989 /client/src/main.tsx
parenta54a93b724a6104213b17271fc298e37adedc1c5 (diff)
Use snackbar globally
Diffstat (limited to 'client/src/main.tsx')
-rw-r--r--client/src/main.tsx28
1 files changed, 14 insertions, 14 deletions
diff --git a/client/src/main.tsx b/client/src/main.tsx
index fff9446..0e5a2f7 100644
--- a/client/src/main.tsx
+++ b/client/src/main.tsx
@@ -40,23 +40,23 @@ const router = createBrowserRouter([
path: 'admin/login',
element: <AdminLogin />,
},
- ],
- },
- {
- element: <Rsvp />,
- children: [
{
- path: 'rsvp',
- element: <RsvpForm />,
+ element: <Rsvp />,
+ children: [
+ {
+ path: 'rsvp',
+ element: <RsvpForm />,
+ },
+ ],
},
- ],
- },
- {
- element: <Admin />,
- children: [
{
- path: 'dashboard',
- element: <Dashboard />,
+ element: <Admin />,
+ children: [
+ {
+ path: 'dashboard',
+ element: <Dashboard />,
+ },
+ ],
},
],
},