|
|
@@ -6,10 +6,10 @@ import PropTypes from 'prop-types';
|
|
|
import StickyEvents from 'sticky-events';
|
|
|
import { debounce } from 'throttle-debounce';
|
|
|
|
|
|
+import { useSWRxCurrentPage } from '~/stores/page';
|
|
|
import { useSidebarCollapsed } from '~/stores/ui';
|
|
|
import loggerFactory from '~/utils/logger';
|
|
|
|
|
|
-import { useSWRxCurrentPage } from '~/stores/page';
|
|
|
|
|
|
import GrowiContextualSubNavigation from './GrowiContextualSubNavigation';
|
|
|
|
|
|
@@ -126,7 +126,7 @@ const GrowiSubNavigationSwitcher = (props) => {
|
|
|
ref={fixedContainerRef}
|
|
|
style={{ width }}
|
|
|
>
|
|
|
- <GrowiContextualSubNavigation currentPage isCompactMode isLinkSharingDisabled />
|
|
|
+ <GrowiContextualSubNavigation currentPage={currentPage} isCompactMode isLinkSharingDisabled />
|
|
|
</div>
|
|
|
</div>
|
|
|
);
|