Skip to content

Commit

Permalink
chore: removed volto imports from barrel files
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Dec 24, 2024
1 parent abf1858 commit 7c233d3
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/components/FeedbackForm/FeedbackForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import {
Message,
Rating,
} from 'semantic-ui-react';
import { Icon } from '@plone/volto/components';
import { isCmsUi } from '@plone/volto/helpers';
import Icon from '@plone/volto/components/theme/Icon/Icon';
import { isCmsUi } from '@plone/volto/helpers/Url/Url';
import {
HoneypotWidget,
GoogleReCaptchaWidget,
Expand Down
2 changes: 1 addition & 1 deletion src/components/FeedbackForm/Steps/AnswersStep.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
getFeedbackThreshold,
} from 'volto-feedback/helpers';
import React, { useState, useEffect, useMemo } from 'react';
import { usePrevious } from '@plone/volto/helpers';
import { usePrevious } from '@plone/volto/helpers/Utils/usePrevious';
import { Form } from 'semantic-ui-react';
import { getTranslatedQuestion } from 'volto-feedback';
import { defineMessages } from 'react-intl';
Expand Down
2 changes: 1 addition & 1 deletion src/components/manage/VFPanel/FeedbackComments.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
Checkbox,
Confirm,
} from 'semantic-ui-react';
import { Pagination } from '@plone/volto/components';
import Pagination from '@plone/volto/components/theme/Pagination/Pagination';
import { injectLazyLibs } from '@plone/volto/helpers/Loadable/Loadable';
import {
getFeedback,
Expand Down
13 changes: 6 additions & 7 deletions src/components/manage/VFPanel/VFPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ import {
Icon as SIcon,
} from 'semantic-ui-react';
import { injectLazyLibs } from '@plone/volto/helpers/Loadable/Loadable';
import {
Pagination,
Toolbar,
Unauthorized,
Toast,
} from '@plone/volto/components';
import { Helmet, flattenToAppURL } from '@plone/volto/helpers';
import Pagination from '@plone/volto/components/theme/Pagination/Pagination';
import Toolbar from '@plone/volto/components/manage/Toolbar/Toolbar';
import Unauthorized from '@plone/volto/components/theme/Unauthorized/Unauthorized';
import Toast from '@plone/volto/components/manage/Toast/Toast';
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
import Helmet from '@plone/volto/helpers/Helmet/Helmet';
import { FeedbackComments } from 'volto-feedback/components/manage';
import {
getFeedbacks,
Expand Down
3 changes: 2 additions & 1 deletion src/components/manage/VFPanel/VFPanelMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import React, { useState } from 'react';
import { useDispatch, useSelector } from 'react-redux';
import { Menu, Button, Confirm, Loader, Dimmer } from 'semantic-ui-react';
import { defineMessages, useIntl } from 'react-intl';
import { Icon, Toast } from '@plone/volto/components';
import Toast from '@plone/volto/components/manage/Toast/Toast';
import Icon from '@plone/volto/components/theme/Icon/Icon';
import downloadSVG from '@plone/volto/icons/download.svg';
import trashSVG from '@plone/volto/icons/delete.svg';
import { injectLazyLibs } from '@plone/volto/helpers/Loadable/Loadable';
Expand Down
2 changes: 1 addition & 1 deletion src/components/manage/VFToolbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useIntl, defineMessages } from 'react-intl';
import { useSelector } from 'react-redux';
import { Link } from 'react-router-dom';

import { Icon } from '@plone/volto/components';
import Icon from '@plone/volto/components/theme/Icon/Icon';
import { Plug } from '@plone/volto/components/manage/Pluggable';
import FeedbackSVG from '../../icons/feedback.svg';
import './vf-toolbar.css';
Expand Down

0 comments on commit 7c233d3

Please sign in to comment.