Skip to content

Commit

Permalink
use BrowserRouter component lin
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlog committed Jan 2, 2020
1 parent 83ca184 commit 899b9cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ interface RouterProps {
basename: string;
}

const AppRoot: React.FunctionComponent<RouterProps> = React.memo(({basename}) => (
const AppRoot: React.FunctionComponent<RouterProps> = React.memo(({ basename }) => (
<I18nProvider>
<BrowserRouter basename={basename}>
<Switch>
Expand Down

0 comments on commit 899b9cf

Please sign in to comment.