clean up a bunch of shit and use recoil to avoid the prop drilling

This commit is contained in:
talksik
2022-05-05 04:28:20 -05:00
parent 35899cf885
commit 4f8922678c
4 changed files with 35 additions and 36 deletions
@@ -1,9 +1,9 @@
import { Avatar, Menu } from "antd";
import { GlobalHotKeys, KeyMap } from "react-hotkeys";
import { HeadsetMicSharp, VideocamSharp } from "@mui/icons-material";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import { $selectedOutputMode } from "../../controller/recoil";
import { Avatar } from "antd";
import { FaSearch } from "react-icons/fa";
import Logo from "../Logo";
import { useGetUserDetails } from "../../controller/index";