Yuki Takei 7 месяцев назад
Родитель
Сommit
46744d2950
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      apps/app/src/client/components/Hotkeys/Subscribers/CreatePage.jsx

+ 2 - 2
apps/app/src/client/components/Hotkeys/Subscribers/CreatePage.jsx

@@ -3,11 +3,11 @@ import React, { useEffect } from 'react';
 import PropTypes from 'prop-types';
 import PropTypes from 'prop-types';
 
 
 import { useCurrentPagePath } from '~/states/page';
 import { useCurrentPagePath } from '~/states/page';
-import { usePageCreateModal } from '~/states/ui/modal/page-create';
+import { usePageCreateModalActions } from '~/states/ui/modal/page-create';
 
 
 const CreatePage = React.memo((props) => {
 const CreatePage = React.memo((props) => {
 
 
-  const { open: openCreateModal } = usePageCreateModal();
+  const { open: openCreateModal } = usePageCreateModalActions();
   const currentPath = useCurrentPagePath();
   const currentPath = useCurrentPagePath();
 
 
   // setup effect
   // setup effect