diff --git a/app/_components/BubbleDiv.tsx b/app/_components/BubbleDiv.tsx
index c8d6dd4..5414e00 100644
--- a/app/_components/BubbleDiv.tsx
+++ b/app/_components/BubbleDiv.tsx
@@ -40,7 +40,8 @@ const BubbleDiv = ({
{children || (
<>
- 현재 775명 참여중이에요!
+ 현재 775명{" "}
+ 참여중이에요!
>
)}
diff --git a/app/hobby-select/_components/ScreenHobbySelect.tsx b/app/hobby-select/_components/ScreenHobbySelect.tsx
index 7b3b292..9df13e8 100644
--- a/app/hobby-select/_components/ScreenHobbySelect.tsx
+++ b/app/hobby-select/_components/ScreenHobbySelect.tsx
@@ -18,7 +18,7 @@ const ALL_HOBBIES = Object.values(HOBBIES).flat() as string[];
const ScreenHobbySelect = () => {
const router = useRouter();
const { profile, updateProfile } = useProfile();
-
+
// 취미 이름으로 카테고리를 찾는 헬퍼 함수
const findCategoryByHobbyName = (name: string): HobbyCategory => {
const found = (Object.keys(HOBBIES) as HobbyCategory[]).find((cat) =>
@@ -88,10 +88,12 @@ const ScreenHobbySelect = () => {
const getHobbiesByCategory = (category: HobbyCategory) => {
const predefined = HOBBIES[category];
// 사용자가 이 카테고리에 추가했던 모든 커스텀 취미 추출
- const customInCategory = addedCustomHobbies.filter(h => h.category === category);
+ const customInCategory = addedCustomHobbies.filter(
+ (h) => h.category === category,
+ );
return {
predefined,
- customInCategory
+ customInCategory,
};
};
@@ -115,7 +117,7 @@ const ScreenHobbySelect = () => {
{filteredHobbies.length > 0 ? (
filteredHobbies.map((hobby) => {
- const isSelected = selected.some(h => h.name === hobby);
+ const isSelected = selected.some((h) => h.name === hobby);
return (
{
) : (
(Object.keys(HOBBIES) as HobbyCategory[]).map((category) => {
- const { predefined, customInCategory } = getHobbiesByCategory(category);
+ const { predefined, customInCategory } =
+ getHobbiesByCategory(category);
return (
{category}
@@ -145,7 +148,7 @@ const ScreenHobbySelect = () => {
toggleHobby(hobby)}
- selected={selected.some(h => h.name === hobby)}
+ selected={selected.some((h) => h.name === hobby)}
>
{hobby}
@@ -155,7 +158,7 @@ const ScreenHobbySelect = () => {
toggleHobby(hobby.name, category)}
- selected={selected.some(h => h.name === hobby.name)}
+ selected={selected.some((h) => h.name === hobby.name)}
>
{hobby.name}
diff --git a/app/layout.tsx b/app/layout.tsx
index 701fbeb..b4bf06b 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -3,9 +3,10 @@ import localFont from "next/font/local";
import "./globals.css";
import Blur from "@/components/common/Blur";
import { QueryProvider } from "@/providers/query-provider";
+import { ServiceStatusProvider } from "@/providers/service-status-provider";
import { ProfileProvider } from "@/providers/profile-provider";
-// import { ServiceStatusProvider } from "@/providers/service-status-provider";
-// import { getInitialMaintenanceStatus } from "@/lib/status";
+import { getInitialMaintenanceStatus } from "@/lib/status";
+import FcmInitializer from "@/components/common/FcmInitializer";
const pretendard = localFont({
src: "./fonts/PretendardVariable.woff2",
@@ -56,7 +57,7 @@ export default async function RootLayout({
}: Readonly<{
children: React.ReactNode;
}>) {
- // const initialMaintenanceMode = await getInitialMaintenanceStatus();
+ const initialMaintenanceMode = await getInitialMaintenanceStatus();
return (
@@ -64,16 +65,17 @@ export default async function RootLayout({
className={`${pretendard.className} flex justify-center bg-white antialiased`}
>
-
- {/* */}
-
-
- {children}
-
- {/* */}
-
+
+
+
+
+
+ {children}
+
+
+