Browse Source

fix export problem

reiji-h 2 năm trước cách đây
mục cha
commit
2129a1ebfd

+ 1 - 1
apps/app/src/components/Page/RevisionRenderer.tsx

@@ -1,6 +1,6 @@
 import React from 'react';
 import React from 'react';
 
 
-import { hasEnabledSlideTypes } from '@growi/presentation';
+import { hasEnabledSlideTypes } from '@growi/presentation/src/services';
 import type { FallbackProps } from 'react-error-boundary';
 import type { FallbackProps } from 'react-error-boundary';
 import { ErrorBoundary } from 'react-error-boundary';
 import { ErrorBoundary } from 'react-error-boundary';
 import ReactMarkdown from 'react-markdown';
 import ReactMarkdown from 'react-markdown';

+ 0 - 1
packages/presentation/src/index.ts

@@ -1,3 +1,2 @@
 export * from './components/Presentation';
 export * from './components/Presentation';
 export * from './components/Slides';
 export * from './components/Slides';
-export * from './services/has-enabled-slide-types';

+ 1 - 0
packages/presentation/src/services/index.ts

@@ -0,0 +1 @@
+export * from './has-enabled-slide-types';