Skip to content

Commit

Permalink
fix: import in config views
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Sep 26, 2024
1 parent 9b4912b commit 9e65030
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/volto/src/config/Views.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ import NewsItemView from '@plone/volto/components/theme/View/NewsItemView';
import SummaryView from '@plone/volto/components/theme/View/SummaryView';
import TabularView from '@plone/volto/components/theme/View/TabularView';
import LinkView from '@plone/volto/components/theme/View/LinkView';
import { Unauthorized, Forbidden, NotFound } from '@plone/volto/components';
const NotFound = loadable(
() => import('@plone/volto/components/theme/NotFound/NotFound'),
);
const Forbidden = loadable(
() => import('@plone/volto/components/theme/Forbidden/Forbidden'),
);
const Unauthorized = loadable(
() => import('@plone/volto/components/theme/Unauthorized/Unauthorized'),
);
const ConnectionRefused = loadable(
() =>
import('@plone/volto/components/theme/ConnectionRefused/ConnectionRefused'),
Expand Down

0 comments on commit 9e65030

Please sign in to comment.