[WIKI-636] fix: replace project loader with page loader #7752

This commit is contained in:
Vipin Chaudhary 2025-09-09 19:27:00 +05:30 committed by GitHub
parent 99bc4262c5
commit 34bdc2ad76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,8 +34,8 @@ export const PagesListMainContent: React.FC<Props> = observer((props) => {
// plane hooks // plane hooks
const { t } = useTranslation(); const { t } = useTranslation();
// store hooks // store hooks
const { currentProjectDetails, loader } = useProject(); const { currentProjectDetails } = useProject();
const { isAnyPageAvailable, getCurrentProjectFilteredPageIdsByTab, getCurrentProjectPageIdsByTab, filters } = const { isAnyPageAvailable, getCurrentProjectFilteredPageIdsByTab, getCurrentProjectPageIdsByTab, filters, loader } =
usePageStore(storeType); usePageStore(storeType);
const { allowPermissions } = useUserPermissions(); const { allowPermissions } = useUserPermissions();
const { createPage } = usePageStore(EPageStoreType.PROJECT); const { createPage } = usePageStore(EPageStoreType.PROJECT);