Fix duplicate import

This commit is contained in:
jeffvli 2023-06-03 00:40:13 -07:00
parent 86ad2d0383
commit cd57142caf

View file

@ -43,10 +43,9 @@ export const MainContent = ({ shell }: { shell?: boolean }) => {
const location = useLocation(); const location = useLocation();
const { collapsed, leftWidth, rightWidth, rightExpanded } = useSidebarStore(); const { collapsed, leftWidth, rightWidth, rightExpanded } = useSidebarStore();
const { setSideBar } = useAppStoreActions(); const { setSideBar } = useAppStoreActions();
const { sideQueueType } = useGeneralSettings(); const { sideQueueType, showQueueDrawerButton } = useGeneralSettings();
const [isResizing, setIsResizing] = useState(false); const [isResizing, setIsResizing] = useState(false);
const [isResizingRight, setIsResizingRight] = useState(false); const [isResizingRight, setIsResizingRight] = useState(false);
const { showQueueDrawerButton } = useGeneralSettings();
const showSideQueue = rightExpanded && location.pathname !== AppRoute.NOW_PLAYING; const showSideQueue = rightExpanded && location.pathname !== AppRoute.NOW_PLAYING;
const rightSidebarRef = useRef<HTMLDivElement | null>(null); const rightSidebarRef = useRef<HTMLDivElement | null>(null);