Skip to content

Commit

Permalink
fix: add audio element
Browse files Browse the repository at this point in the history
  • Loading branch information
remvze committed Jan 28, 2024
1 parent 5e0a842 commit 889962b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"sort-keys-fix/sort-keys-fix": ["warn", "asc"],
"sort-destructure-keys/sort-destructure-keys": "warn",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/media-has-caption": "off",
"react/jsx-sort-props": [
"warn",
{
Expand Down
30 changes: 17 additions & 13 deletions src/components/app/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,22 @@ export function App() {
}, [favoriteSounds, categories]);

return (
<SnackbarProvider>
<StoreConsumer>
<Container>
<div id="app" />
<Buttons />
<Categories categories={allCategories} />
</Container>

<ScrollToTop />
<Menu />
<SharedModal />
</StoreConsumer>
</SnackbarProvider>
<>
<SnackbarProvider>
<StoreConsumer>
<Container>
<div id="app" />
<Buttons />
<Categories categories={allCategories} />
</Container>

<ScrollToTop />
<Menu />
<SharedModal />
</StoreConsumer>
</SnackbarProvider>

<audio aria-hidden={true} src="" />
</>
);
}

0 comments on commit 889962b

Please sign in to comment.