diff --git a/src/renderer/layouts/default-layout/main-content.tsx b/src/renderer/layouts/default-layout/main-content.tsx index 4329d6f5..4b731626 100644 --- a/src/renderer/layouts/default-layout/main-content.tsx +++ b/src/renderer/layouts/default-layout/main-content.tsx @@ -43,10 +43,9 @@ export const MainContent = ({ shell }: { shell?: boolean }) => { const location = useLocation(); const { collapsed, leftWidth, rightWidth, rightExpanded } = useSidebarStore(); const { setSideBar } = useAppStoreActions(); - const { sideQueueType } = useGeneralSettings(); + const { sideQueueType, showQueueDrawerButton } = useGeneralSettings(); const [isResizing, setIsResizing] = useState(false); const [isResizingRight, setIsResizingRight] = useState(false); - const { showQueueDrawerButton } = useGeneralSettings(); const showSideQueue = rightExpanded && location.pathname !== AppRoute.NOW_PLAYING; const rightSidebarRef = useRef(null);