Skip to content

Commit

Permalink
fix: build 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
eonseok-jeon committed Aug 17, 2024
1 parent ebd853d commit ab0a374
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 71 deletions.
27 changes: 12 additions & 15 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { MutationCache, QueryCache, QueryClient, QueryClientProvider } from '@ta
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
import { AxiosError } from 'axios';
import { useCallback, useEffect, useRef, useState } from 'react';
import { HelmetProvider } from 'react-helmet-async';
import { RouterProvider, createBrowserRouter } from 'react-router-dom';

import Layout from '@components/Layout';
Expand Down Expand Up @@ -131,20 +130,18 @@ const App = () => {
return (
<>
<SessionExpiredDialog ref={sessionRef} />
<HelmetProvider>
<ThemeContext.Provider value={themeContextValue}>
<DeviceTypeContext.Provider value={{ deviceType }}>
<RecruitingInfoContext.Provider value={recruitingInfoContextValue}>
<QueryClientProvider client={queryClient}>
<ReactQueryDevtools />
<div className={isLight ? light : dark}>
<RouterProvider router={router} />
</div>
</QueryClientProvider>
</RecruitingInfoContext.Provider>
</DeviceTypeContext.Provider>
</ThemeContext.Provider>
</HelmetProvider>
<ThemeContext.Provider value={themeContextValue}>
<DeviceTypeContext.Provider value={{ deviceType }}>
<RecruitingInfoContext.Provider value={recruitingInfoContextValue}>
<QueryClientProvider client={queryClient}>
<ReactQueryDevtools />
<div className={isLight ? light : dark}>
<RouterProvider router={router} />
</div>
</QueryClientProvider>
</RecruitingInfoContext.Provider>
</DeviceTypeContext.Provider>
</ThemeContext.Provider>
</>
);
};
Expand Down
56 changes: 0 additions & 56 deletions src/common/components/Layout/components/Head.tsx

This file was deleted.

0 comments on commit ab0a374

Please sign in to comment.