Skip to content

Commit 4cd61cf

Browse files
committed
client/modules/App/components/Loader: update types and to named export
1 parent 212bef0 commit 4cd61cf

9 files changed

Lines changed: 9 additions & 10 deletions

File tree

client/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import browserHistory from './browserHistory';
88
import { setupStore } from './store';
99
import Routing from './routes';
1010
import { ThemeProvider } from './modules/App/components/ThemeProvider';
11-
import Loader from './modules/App/components/loader';
11+
import { Loader } from './modules/App/components/Loader';
1212
import './i18n';
1313
import { SkipLink } from './components/SkipLink';
1414

client/modules/App/components/Loader.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,11 @@ const LoaderCircle = styled.div`
4444
}
4545
`;
4646

47-
const Loader = () => (
47+
export const Loader = () => (
4848
<Container>
4949
<LoaderWrapper>
5050
<LoaderCircle />
5151
<LoaderCircle />
5252
</LoaderWrapper>
5353
</Container>
5454
);
55-
export default Loader;

client/modules/IDE/components/AddToCollectionList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Helmet } from 'react-helmet';
44
import { useTranslation } from 'react-i18next';
55
import { useDispatch, useSelector } from 'react-redux';
66
import styled from 'styled-components';
7-
import Loader from '../../App/components/loader';
7+
import { Loader } from '../../App/components/Loader';
88
import {
99
addToCollection,
1010
getCollections,

client/modules/IDE/components/AddToCollectionSketchList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useTranslation } from 'react-i18next';
66
import { addToCollection, removeFromCollection } from '../actions/collections';
77
import { getProjects } from '../actions/projects';
88
import getSortedSketches from '../selectors/projects';
9-
import Loader from '../../App/components/loader';
9+
import { Loader } from '../../App/components/Loader';
1010
import QuickAddList from './QuickAddList';
1111
import {
1212
CollectionAddSketchWrapper,

client/modules/IDE/components/AssetList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useDispatch, useSelector } from 'react-redux';
33
import { Helmet } from 'react-helmet';
44
import { useTranslation } from 'react-i18next';
55
import AssetListRow from './AssetListRow';
6-
import Loader from '../../App/components/loader';
6+
import { Loader } from '../../App/components/Loader';
77
import * as AssetActions from '../actions/assets';
88

99
const AssetList = () => {

client/modules/IDE/components/CollectionList/CollectionList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import * as CollectionsActions from '../../actions/collections';
1212
import * as ToastActions from '../../actions/toast';
1313
import * as SortingActions from '../../actions/sorting';
1414
import getSortedCollections from '../../selectors/collections';
15-
import Loader from '../../../App/components/loader';
15+
import { Loader } from '../../../App/components/Loader';
1616
import Overlay from '../../../App/components/Overlay';
1717
import AddToCollectionSketchList from '../AddToCollectionSketchList';
1818
import { SketchSearchbar } from '../Searchbar';

client/modules/IDE/components/SketchList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import * as CollectionsActions from '../actions/collections';
1111
import * as ToastActions from '../actions/toast';
1212
import * as SortingActions from '../actions/sorting';
1313
import getSortedSketches from '../selectors/projects';
14-
import Loader from '../../App/components/loader';
14+
import { Loader } from '../../App/components/Loader';
1515
import Overlay from '../../App/components/Overlay';
1616
import AddToCollectionList from './AddToCollectionList';
1717
import ArrowUpIcon from '../../../images/sort-arrow-up.svg';

client/modules/Legal/pages/Legal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import styled from 'styled-components';
66
import { RouterTab } from '../../../common/RouterTab';
77
import { RootPage } from '../../../components/RootPage';
88
import { remSize } from '../../../theme';
9-
import Loader from '../../App/components/loader';
9+
import { Loader } from '../../App/components/Loader';
1010
import Nav from '../../IDE/components/Header/Nav';
1111
import { PolicyContainer } from '../components/PolicyContainer';
1212

client/modules/User/components/Collection.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import classNames from 'classnames';
77
import * as CollectionsActions from '../../IDE/actions/collections';
88
import * as SortingActions from '../../IDE/actions/sorting';
99
import { getCollection } from '../../IDE/selectors/collections';
10-
import Loader from '../../App/components/loader';
10+
import { Loader } from '../../App/components/Loader';
1111
import ArrowUpIcon from '../../../images/sort-arrow-up.svg';
1212
import ArrowDownIcon from '../../../images/sort-arrow-down.svg';
1313
import CollectionMetadata from './CollectionMetadata';

0 commit comments

Comments
 (0)