mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Fix duplicate import
This commit is contained in:
@@ -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 New Issue
Block a user