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,6 +94,7 @@ export function App() {
}, [favoriteSounds, categories]); }, [favoriteSounds, categories]);
return ( return (
<>
<SnackbarProvider> <SnackbarProvider>
<StoreConsumer> <StoreConsumer>
<Container> <Container>
@ -107,5 +108,8 @@ export function App() {
<SharedModal /> <SharedModal />
</StoreConsumer> </StoreConsumer>
</SnackbarProvider> </SnackbarProvider>
<audio aria-hidden={true} src="" />
</>
); );
} }