Skip to content

Commit

Permalink
chore: removed imports from volto barrel files
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Dec 24, 2024
1 parent 60f5850 commit b24cf14
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/SecondaryMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { isMatch } from 'lodash';
import { useIntl, defineMessages } from 'react-intl';
import { useDispatch, useSelector } from 'react-redux';
import { NavLink } from 'react-router-dom';
import { flattenToAppURL } from '@plone/volto/helpers';
import { UniversalLink } from '@plone/volto/components';
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
import { getSecondaryMenu } from '../actions';
import { getItemsByPath } from '../utils';
import { Menu } from 'semantic-ui-react';
Expand Down
7 changes: 5 additions & 2 deletions src/widget/SecondaryMenuConfigurationForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ import React, { useEffect } from 'react';
import { compose } from 'redux';
import { defineMessages, useIntl } from 'react-intl';
import { Form, Grid, Button } from 'semantic-ui-react';
import { flattenToAppURL } from '@plone/volto/helpers';
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
import withObjectBrowser from '@plone/volto/components/manage/Sidebar/ObjectBrowser';
import { TextWidget, CheckboxWidget } from '@plone/volto/components';
import {
TextWidget,
CheckboxWidget,
} from '@plone/volto/components/manage/Widgets';
import navTreeSVG from '@plone/volto/icons/nav.svg';
import clearSVG from '@plone/volto/icons/clear.svg';

Expand Down
3 changes: 2 additions & 1 deletion src/widget/SecondaryMenuConfigurationWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import {
Segment,
Header,
} from 'semantic-ui-react';
import { TextWidget, Component } from '@plone/volto/components';
import { TextWidget } from '@plone/volto/components/manage/Widgets';
import Component from '@plone/volto/components/theme/Component/Component';
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';

import './secondary_menu_configuration.css';
Expand Down

0 comments on commit b24cf14

Please sign in to comment.