From 889962babe6e940ff283a41b145620d2a0477c70 Mon Sep 17 00:00:00 2001 From: MAZE Date: Sun, 28 Jan 2024 15:15:30 +0330 Subject: [PATCH] fix: add audio element --- .eslintrc.json | 1 + src/components/app/app.tsx | 28 ++++++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 1d3d157..5bf78d4 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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", { diff --git a/src/components/app/app.tsx b/src/components/app/app.tsx index 0c5e70c..a287553 100644 --- a/src/components/app/app.tsx +++ b/src/components/app/app.tsx @@ -94,18 +94,22 @@ export function App() { }, [favoriteSounds, categories]); return ( - - - -
- - - + <> + + + +
+ + + - - - - - + + + + + + +