From eb77c00540c4dd8a923a7fc09a9c0c4b9ac9e46f Mon Sep 17 00:00:00 2001 From: chark1es Date: Sat, 1 Mar 2025 04:22:15 -0800 Subject: [PATCH] Fix hydration --- .../dashboard/Officer_EventRequestForm.astro | 4 ++ .../EventRequestForm.tsx | 24 +--------- .../InvoiceBuilder.tsx | 48 ++++++++++--------- 3 files changed, 30 insertions(+), 46 deletions(-) diff --git a/src/components/dashboard/Officer_EventRequestForm.astro b/src/components/dashboard/Officer_EventRequestForm.astro index bf9ab8b..7f0fdff 100644 --- a/src/components/dashboard/Officer_EventRequestForm.astro +++ b/src/components/dashboard/Officer_EventRequestForm.astro @@ -4,6 +4,7 @@ import { Get } from "../../scripts/pocketbase/Get"; import EventRequestForm from "./Officer_EventRequestForm/EventRequestForm"; import UserEventRequests from "./Officer_EventRequestForm/UserEventRequests"; import { Collections } from "../../schemas/pocketbase/schema"; +import { Toaster } from "react-hot-toast"; // Import the EventRequest type from UserEventRequests to ensure consistency import type { EventRequest as UserEventRequest } from "./Officer_EventRequestForm/UserEventRequests"; @@ -117,6 +118,9 @@ if (auth.isAuthenticated()) { + + +