|
@@ -1,8 +1,9 @@
|
|
|
import React, { useEffect } from 'react';
|
|
import React, { useEffect } from 'react';
|
|
|
|
|
+
|
|
|
import PropTypes from 'prop-types';
|
|
import PropTypes from 'prop-types';
|
|
|
|
|
|
|
|
-import { usePageCreateModal } from '~/stores/modal';
|
|
|
|
|
import { useCurrentPagePath } from '~/stores/context';
|
|
import { useCurrentPagePath } from '~/stores/context';
|
|
|
|
|
+import { usePageCreateModal } from '~/stores/modal';
|
|
|
|
|
|
|
|
const CreatePage = React.memo((props) => {
|
|
const CreatePage = React.memo((props) => {
|
|
|
|
|
|
|
@@ -28,4 +29,6 @@ CreatePage.getHotkeyStrokes = () => {
|
|
|
return [['c']];
|
|
return [['c']];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+CreatePage.displayName = 'CreatePage';
|
|
|
|
|
+
|
|
|
export default CreatePage;
|
|
export default CreatePage;
|