Browse Source

move stores file

Yuki Takei 2 years ago
parent
commit
ab9f916282

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

@@ -15,10 +15,10 @@ import {
   ModalFooter,
 } from 'reactstrap';
 
+import { useSWRxTemplates } from '~/features/templates/stores';
 import { useTemplateModal } from '~/stores/modal';
 import { usePersonalSettings } from '~/stores/personal-settings';
 import { usePreviewOptions } from '~/stores/renderer';
-import { useSWRxTemplates } from '~/stores/template';
 import loggerFactory from '~/utils/logger';
 
 import Preview from '../PageEditor/Preview';

+ 1 - 0
apps/app/src/features/templates/stores/index.ts

@@ -0,0 +1 @@
+export * from './template';

+ 0 - 0
apps/app/src/stores/template.tsx → apps/app/src/features/templates/stores/template.tsx