reiji-h 1 год назад
Родитель
Сommit
b82ec14c35
1 измененных файлов с 2 добавлено и 2 удалено
  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,
   useCsrfToken, useIsSearchScopeChildrenAsDefault, useIsEnabledMarp, useCurrentPathname,
   useIsSlackConfigured, useRendererConfig, useGrowiCloudUri,
   useIsSlackConfigured, useRendererConfig, useGrowiCloudUri,
   useIsAllReplyShown, useIsContainerFluid, useIsNotCreatable,
   useIsAllReplyShown, useIsContainerFluid, useIsNotCreatable,
-  useIsUploadAllFileAllowed, useIsUploadEnabled, useSaveNextCaretLine,
+  useIsUploadAllFileAllowed, useIsUploadEnabled, useReservedNextCaretLine,
 } from '~/stores-universal/context';
 } from '~/stores-universal/context';
 import { useEditingMarkdown } from '~/stores/editor';
 import { useEditingMarkdown } from '~/stores/editor';
 import {
 import {
@@ -263,7 +263,7 @@ const Page: NextPageWithLayout<Props> = (props: Props) => {
 
 
   useSetupGlobalSocket();
   useSetupGlobalSocket();
   useSetupGlobalSocketForPage(pageId);
   useSetupGlobalSocketForPage(pageId);
-  useSaveNextCaretLine();
+  useReservedNextCaretLine();
 
 
   // Store initial data (When revisionBody is not SSR)
   // Store initial data (When revisionBody is not SSR)
   useEffect(() => {
   useEffect(() => {