Fix import of button from @strapi/design-system
Fix import of button from @strapi/design-system Replaces `import { Button } from '@strapi/design-system/';` with `import { Button } from '@strapi/design-system/Button';`pull/84/head
parent
ceadfbbdc6
commit
9d6e443824
|
@ -2,7 +2,7 @@ import React, { useState } from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { useDispatch, useSelector } from 'react-redux';
|
import { useDispatch, useSelector } from 'react-redux';
|
||||||
import { isEmpty } from 'lodash';
|
import { isEmpty } from 'lodash';
|
||||||
import { Button } from '@strapi/design-system';
|
import { Button } from '@strapi/design-system/Button';
|
||||||
import { Map } from 'immutable';
|
import { Map } from 'immutable';
|
||||||
import { useNotification } from '@strapi/helper-plugin';
|
import { useNotification } from '@strapi/helper-plugin';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { useDispatch } from 'react-redux';
|
import { useDispatch } from 'react-redux';
|
||||||
import { NoContent, useNotification } from '@strapi/helper-plugin';
|
import { NoContent, useNotification } from '@strapi/helper-plugin';
|
||||||
import { Button } from '@strapi/design-system';
|
import { Button } from '@strapi/design-system/Button';
|
||||||
|
|
||||||
import { exportAllConfig } from '../../state/actions/Config';
|
import { exportAllConfig } from '../../state/actions/Config';
|
||||||
import ConfirmModal from '../ConfirmModal';
|
import ConfirmModal from '../ConfirmModal';
|
||||||
|
|
Loading…
Reference in New Issue