From cd57142caf9186a05052bf3deccad3c4d4173b4b Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sat, 3 Jun 2023 00:40:13 -0700 Subject: [PATCH] Fix duplicate import --- src/renderer/layouts/default-layout/main-content.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);