diff --git a/nextjs/src/app/globals.css b/nextjs/src/app/globals.css
index 31d54ac..645f92b 100644
--- a/nextjs/src/app/globals.css
+++ b/nextjs/src/app/globals.css
@@ -95,11 +95,13 @@ p {
@apply mb-3;
}
-button, .btn {
+button,
+.btn {
@apply font-bold py-1 px-3 rounded transition-all duration-200;
}
-button:not(.unstyled):not(.btn-danger), .btn:not(.unstyled):not(.btn-danger) {
+button:not(.unstyled):not(.btn-danger),
+.btn:not(.unstyled):not(.btn-danger) {
@apply bg-blue-900 hover:bg-blue-700 text-blue-50;
}
@@ -135,3 +137,7 @@ select {
.markdownPreview a {
@apply text-blue-500 hover:text-blue-600 font-bold underline;
}
+
+/* .isDragging .dayDropTarget {
+ @apply bg-slate-900 shadow-[0_0px_10px_0px] shadow-blue-800/50;
+} */
diff --git a/nextjs/src/components/ClientOnly.tsx b/nextjs/src/components/ClientOnly.tsx
index a1eb0a7..8cc9af8 100644
--- a/nextjs/src/components/ClientOnly.tsx
+++ b/nextjs/src/components/ClientOnly.tsx
@@ -1,4 +1,5 @@
-"use client"
+"use client";
+import { isServer } from "@tanstack/react-query";
import React, { ReactNode, useEffect, useState } from "react";
export default function ClientOnly({ children }: { children: ReactNode }) {
@@ -6,7 +7,7 @@ export default function ClientOnly({ children }: { children: ReactNode }) {
useEffect(() => {
setIsClient(true);
- }, []);
+ }, [isServer]);
if (!isClient) return <>>;
return <>{children}>;
diff --git a/nextjs/src/components/Modal.tsx b/nextjs/src/components/Modal.tsx
index 7bac7a6..d199143 100644
--- a/nextjs/src/components/Modal.tsx
+++ b/nextjs/src/components/Modal.tsx
@@ -25,7 +25,7 @@ export default function Modal({