reiji-h 1 an în urmă
părinte
comite
b82ec14c35
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      apps/app/src/pages/[[...path]].page.tsx

+ 2 - 2
apps/app/src/pages/[[...path]].page.tsx

@@ -41,7 +41,7 @@ import {
   useCsrfToken, useIsSearchScopeChildrenAsDefault, useIsEnabledMarp, useCurrentPathname,
   useIsSlackConfigured, useRendererConfig, useGrowiCloudUri,
   useIsAllReplyShown, useIsContainerFluid, useIsNotCreatable,
-  useIsUploadAllFileAllowed, useIsUploadEnabled, useSaveNextCaretLine,
+  useIsUploadAllFileAllowed, useIsUploadEnabled, useReservedNextCaretLine,
 } from '~/stores-universal/context';
 import { useEditingMarkdown } from '~/stores/editor';
 import {
@@ -263,7 +263,7 @@ const Page: NextPageWithLayout<Props> = (props: Props) => {
 
   useSetupGlobalSocket();
   useSetupGlobalSocketForPage(pageId);
-  useSaveNextCaretLine();
+  useReservedNextCaretLine();
 
   // Store initial data (When revisionBody is not SSR)
   useEffect(() => {