Yuki Takei 6 месяцев назад
Родитель
Сommit
d62a64eae3
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      apps/app/src/states/page/use-fetch-current-page.ts

+ 1 - 0
apps/app/src/states/page/use-fetch-current-page.ts

@@ -218,6 +218,7 @@ export const useFetchCurrentPage = (): {
           set(currentPageDataAtom, newData);
           set(currentPageIdAtom, newData._id);
           set(pageNotFoundAtom, false);
+          set(isForbiddenAtom, false);
 
           return newData;
         } catch (err) {