Skip to content

Commit

Permalink
[#7] mswComponent 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
03hoho03 committed May 4, 2024
1 parent 79c1083 commit 6cd0aa6
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/components/providers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@ import ReactQueryProviders from '@/components/providers/ReactQueryProviders'
import GlobalStyle from '@/styles/GlobalStyle'
import { theme } from '@/styles/theme'
import { ThemeProvider } from 'styled-components'
import { MswComponent } from './MswComponent'

const Providers = ({ children }: { children: React.ReactNode }) => {
return (
<ReactQueryProviders>
<LayoutRegistry>
<GlobalStyle />
<ThemeProvider theme={theme}>{children}</ThemeProvider>
</LayoutRegistry>
</ReactQueryProviders>
<>
<MswComponent />
<ReactQueryProviders>
<LayoutRegistry>
<GlobalStyle />
<ThemeProvider theme={theme}>{children}</ThemeProvider>
</LayoutRegistry>
</ReactQueryProviders>
</>
)
}

Expand Down

0 comments on commit 6cd0aa6

Please sign in to comment.