Skip to content

Commit

Permalink
Move less import in View instead of Edit
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Jul 29, 2021
1 parent 90c5007 commit 84aeff0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/Edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import cx from 'classnames';

import config from '@plone/volto/registry';

import '@eeacms/volto-tabs-block/less/tabs-block.less';

const Edit = (props) => {
const { onChangeBlock } = props;
const { data = {}, block = null } = props;
Expand Down
2 changes: 2 additions & 0 deletions src/components/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import cx from 'classnames';

import config from '@plone/volto/registry';

import '@eeacms/volto-tabs-block/less/tabs-block.less';

const View = (props) => {
const view = React.useRef(null);
const { data = {}, uiContainer = '' } = props;
Expand Down

0 comments on commit 84aeff0

Please sign in to comment.