Skip to content

Commit

Permalink
chore: modernPolyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
Flower-F committed May 18, 2024
1 parent 46f601a commit 38a9744
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ import { RouterProvider } from 'react-router-dom';
import Footer from '~/components/Footer';
import { router } from './router';

const App = () => {
export const App = () => {
return (
<main className='px-4 py-9 text-center font-sans text-gray-700 dark:text-gray-200'>
<RouterProvider router={router} />
<Footer />
</main>
);
};

export default App;
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import './styles/main.css';
import React from 'react';
import ReactDOM from 'react-dom/client';

import App from './App';
import { App } from './App';

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

0 comments on commit 38a9744

Please sign in to comment.