Skip to content

Commit

Permalink
IE 11 does not support <main>
Browse files Browse the repository at this point in the history
  • Loading branch information
macfarlandian committed Dec 18, 2020
1 parent 1305e8e commit 4f1768a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spotlight-client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const App: React.FC = () => {
<StoreProvider>
<AuthWall>
<SiteNavigation />
<main>
<div role="main">
<Router>
{/*
NOTE: every leaf route component in this router should be wrapped
Expand All @@ -61,7 +61,7 @@ const App: React.FC = () => {
</PassThroughPage>
<PageNotFound default />
</Router>
</main>
</div>
</AuthWall>
</StoreProvider>
);
Expand Down

0 comments on commit 4f1768a

Please sign in to comment.