refactor to a high level audio handler

This commit is contained in:
Arjun Patel
2022-02-06 12:28:30 -08:00
parent 8ab20e7df8
commit 1b84b4324a
4 changed files with 269 additions and 237 deletions
+3
View File
@@ -15,6 +15,7 @@ import { QueryRoutes, Routes } from "@nirvana/common/helpers/routes";
import ViewConvo from "../../components/MainTabsOrPages/ViewConvo";
import MainRecoilDataHandler from "../../recoil/MainRecoilDataHandler";
import { useAuth } from "../../contexts/authContext";
import AudioHandler from "../../components/Audio/AudioHandler";
export default function Me() {
// TODO: if not authenticated, take user away
@@ -129,6 +130,8 @@ Me.getLayout = function (content: ReactElement) {
<KeyboardShortcutHandler />
<AudioHandler />
<Header />
{content}