Skip to content

Commit be7b5c1

Browse files
erezrokahvladdu
authored andcommitted
fix(bundle-size): don't import react-select twice (decaporg#2875)
1 parent 51702d4 commit be7b5c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/netlify-cms-widget-relation/src/RelationControl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
33
import ImmutablePropTypes from 'react-immutable-proptypes';
4-
import AsyncSelect from 'react-select/lib/Async';
4+
import { Async as AsyncSelect } from 'react-select';
55
import { find, isEmpty, last, debounce } from 'lodash';
66
import { List, Map, fromJS } from 'immutable';
77
import { reactSelectStyles } from 'netlify-cms-ui-default';

0 commit comments

Comments
 (0)