}
- onClick={() => {}}
- className="bg-gray-light-02"
- />
+
+
+
+
+
+
+
}
+ onClick={handleGoBack}
+ className="bg-gray-light-02"
+ />
+
μ±ν
+
+
+
+ }
+ onClick={() => {}}
+ className="bg-gray-light-02"
+ />
+
+
router.push(`/bookclub/${chatId}`),
+ }}
+ />
- router.push(`/bookclub/${chatId}`),
- }}
+
+
+
+ {}}
/>
-
-
- {}}
- />
-
-
-
-
}
- aria-label="λ©μμ§ μ μ‘"
- className="h-[52px] w-[52px] bg-green-light-01"
- onClick={handleSubmit}
- />
+
+
);
diff --git a/src/app/global-error.tsx b/src/app/global-error.tsx
new file mode 100644
index 00000000..14da1ffe
--- /dev/null
+++ b/src/app/global-error.tsx
@@ -0,0 +1,42 @@
+'use client';
+
+import Button from '@/components/button/Button';
+import Image from 'next/image';
+
+export default function GlobalError({
+ error,
+ reset,
+}: {
+ error: Error & { digest?: string };
+ reset: () => void;
+}) {
+ return (
+
+
+
+
+
+
μΉλͺ
μ μΈ μ€λ₯κ° λ°μνμ΅λλ€
+
+ {error.message || 'μλΉμ€μ λ¬Έμ κ° λ°μνμ΅λλ€'}
+
+
+
+
+
+
+ );
+}
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index a7ff9915..48a6dc59 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -31,7 +31,6 @@ export default function RootLayout({
{children}
-