Add `id` to `App` component (#880)

Fixes #204. There's already a style block for `#app` so this just sets the id so those styles are applied.
This commit is contained in:
Zachary Dunn 2022-12-22 16:54:52 -05:00 committed by GitHub
parent afeb64009b
commit 62139df0c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ export class App extends Component<any, any> {
return ( return (
<> <>
<Provider i18next={i18n}> <Provider i18next={i18n}>
<div> <div id="app">
<Theme defaultTheme={siteView.local_site.default_theme} /> <Theme defaultTheme={siteView.local_site.default_theme} />
{siteView.site.icon.match({ {siteView.site.icon.match({
some: icon => ( some: icon => (