fix: add audio element

This commit is contained in:
MAZE 2024-01-28 15:15:30 +03:30
parent 5e0a84259f
commit 889962babe
2 changed files with 17 additions and 12 deletions

View File

@ -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",
{

View File

@ -94,18 +94,22 @@ export function App() {
}, [favoriteSounds, categories]);
return (
<SnackbarProvider>
<StoreConsumer>
<Container>
<div id="app" />
<Buttons />
<Categories categories={allCategories} />
</Container>
<>
<SnackbarProvider>
<StoreConsumer>
<Container>
<div id="app" />
<Buttons />
<Categories categories={allCategories} />
</Container>
<ScrollToTop />
<Menu />
<SharedModal />
</StoreConsumer>
</SnackbarProvider>
<ScrollToTop />
<Menu />
<SharedModal />
</StoreConsumer>
</SnackbarProvider>
<audio aria-hidden={true} src="" />
</>
);
}