refactor: menu wrapper에서 useQuery 제거

This commit is contained in:
2025-04-02 15:33:51 +09:00
parent a9739bdba5
commit 4e4bd82009
3 changed files with 13 additions and 16 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
import { ConfirmProvider } from "@frontend-opensource/use-react-hooks";
import { AuthWrapper } from "@/entities/auth";
import { MenuWrapper } from "@/entities/menu";
import { StoreProvider } from "@/shared/providers";
import { AlertDialog } from "@/shared/ui/alert-dialog";
@@ -10,7 +11,7 @@ const AppProvider = ({ children }: Readonly<{ children: React.ReactNode }>) => {
<StoreProvider>
<ConfirmProvider>
<AuthWrapper>
{children}
<MenuWrapper>{children}</MenuWrapper>
<AlertDialog />
</AuthWrapper>
</ConfirmProvider>