Fix duplicate import
This commit is contained in:
parent
86ad2d0383
commit
cd57142caf
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Reference in a new issue