soumaeda 2 лет назад
Родитель
Сommit
16af5c9518

+ 1 - 1
apps/app/src/components/TemplateModal/TemplateModal.tsx

@@ -5,7 +5,7 @@ import React, {
 import assert from 'assert';
 
 import { Lang } from '@growi/core';
-import { useTemplateModal, type TemplateModalStatus } from '@growi/editor/src/stores/use-template';
+import { useTemplateModal, type TemplateModalStatus } from '@growi/editor/src/stores/use-template-modal';
 import {
   extractSupportedLocales, getLocalizedTemplate, type TemplateSummary,
 } from '@growi/pluginkit/dist/v4';

+ 1 - 2
packages/editor/src/components/CodeMirrorEditor/Toolbar/TemplateButton.tsx

@@ -1,8 +1,7 @@
 import { useCallback } from 'react';
 
-
 import { useCodeMirrorEditorIsolated } from '../../../stores';
-import { useTemplateModal } from '../../../stores/use-template';
+import { useTemplateModal } from '../../../stores/use-template-modal';
 
 type Props = {
   editorKey: string,

+ 0 - 0
packages/editor/src/stores/use-template.ts → packages/editor/src/stores/use-template-modal.ts