Skip to content

Commit 96cc2a1

Browse files
authored
47/ai literature search tool (#157)
* Remove morphology suggestion * Property paragraph will disappear from search-tool in the next days * Add dynamic import to fix the build
1 parent 0d93533 commit 96cc2a1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/app/app/virtual-lab/(free)/explore/layout.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
import { ReactNode, useEffect } from 'react';
44
import { ErrorBoundary } from 'react-error-boundary';
55
import { useSetAtom } from 'jotai/index';
6+
import dynamic from 'next/dynamic';
7+
68
import SimpleErrorComponent from '@/components/GenericErrorFallback';
79
import { sectionAtom } from '@/state/application';
8-
import LitteratureSuggestions from '@/components/literature-suggestions';
10+
11+
const LitteratureSuggestions = dynamic(() => import('@/components/literature-suggestions'));
912

1013
import styles from './layout.module.css';
1114

0 commit comments

Comments
 (0)