Browse Source

Remove extraneous div.

main
Titouan Rigoudy 4 years ago
parent
commit
8db27089a7
1 changed files with 4 additions and 7 deletions
  1. +4
    -7
      src/components/SolsticeApp.tsx

+ 4
- 7
src/components/SolsticeApp.tsx View File

@ -47,8 +47,7 @@ const ConnectedApp: FC = ({ children }) => {
);
}
// TODO: eliminate the need for this extra <div> wrapper.
return <div>{children}</div>;
return <div id="solstice-app">{children}</div>;
};
const SolsticeApp = () => (
@ -58,11 +57,9 @@ const SolsticeApp = () => (
</Route>
<Route path="/">
<ConnectedApp>
<div id="solstice-app">
<Header />
<MainPane />
<Footer />
</div>
<Header />
<MainPane />
<Footer />
</ConnectedApp>
</Route>
</Switch>


Loading…
Cancel
Save