Skip to content

Commit

Permalink
refactor: global style app과 index에 적용
Browse files Browse the repository at this point in the history
Co-authored-by: Pakxe <[email protected]>
  • Loading branch information
jinhokim98 and pakxe committed Jul 31, 2024
1 parent c19873e commit 89fd48a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion client/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import {HDesignProvider} from 'haengdong-design';
import {Outlet} from 'react-router-dom';
import {HDesignProvider} from 'haengdong-design';
import {Global} from '@emotion/react';

import {GlobalStyle} from './GlobalStyle';

const App: React.FC = () => {
return (
<HDesignProvider>
<Global styles={GlobalStyle} />
<Outlet />
</HDesignProvider>
);
Expand Down
2 changes: 0 additions & 2 deletions client/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import ReactDOM from 'react-dom/client';
import {RouterProvider} from 'react-router-dom';

import router from './router';
import './reset.css';
import './index.css';

ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
Expand Down

0 comments on commit 89fd48a

Please sign in to comment.