Skip to content

Commit

Permalink
add setup function
Browse files Browse the repository at this point in the history
  • Loading branch information
amandaesmith333 committed Dec 14, 2021
1 parent a722809 commit 5e9e13a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Redirect, Route } from 'react-router-dom';
import { IonApp, IonRouterOutlet } from '@ionic/react';
import { IonApp, IonRouterOutlet, setupIonicReact } from '@ionic/react';
import { IonReactRouter } from '@ionic/react-router';
import Home from './pages/Home';

Expand All @@ -22,6 +22,8 @@ import '@ionic/react/css/display.css';
/* Theme variables */
import './theme/variables.css';

setupIonicReact();

const App: React.FC = () => (
<IonApp>
<IonReactRouter>
Expand Down

0 comments on commit 5e9e13a

Please sign in to comment.