|
@@ -245,7 +245,7 @@ const GrowiPage: NextPage<Props> = (props: Props) => {
|
|
|
|
|
|
|
|
const { data: currentPage } = useSWRxCurrentPage(undefined, pageWithMeta?.data ?? null); // store initial data
|
|
const { data: currentPage } = useSWRxCurrentPage(undefined, pageWithMeta?.data ?? null); // store initial data
|
|
|
useEditingMarkdown(pageWithMeta?.data.revision?.body ?? '');
|
|
useEditingMarkdown(pageWithMeta?.data.revision?.body ?? '');
|
|
|
- useRequestRevisionPage(pageWithMeta?.data); // store page data statically for History function on PageAccessoryModal
|
|
|
|
|
|
|
+ useRequestRevisionPage(pageWithMeta?.data); // store request revisionId page data History function on PageAccessoryModal
|
|
|
|
|
|
|
|
const { data: grantData } = useSWRxIsGrantNormalized(pageId);
|
|
const { data: grantData } = useSWRxIsGrantNormalized(pageId);
|
|
|
const { mutate: mutateSelectedGrant } = useSelectedGrant();
|
|
const { mutate: mutateSelectedGrant } = useSelectedGrant();
|