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-keys-fix/sort-keys-fix": ["warn", "asc"],
"sort-destructure-keys/sort-destructure-keys": "warn", "sort-destructure-keys/sort-destructure-keys": "warn",
"jsx-a11y/no-static-element-interactions": "off", "jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/media-has-caption": "off",
"react/jsx-sort-props": [ "react/jsx-sort-props": [
"warn", "warn",
{ {

View File

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