From 7fce34e9640aa33562382eb2ceadd4a243121625 Mon Sep 17 00:00:00 2001
From: Jure Triglav <juretriglav@gmail.com>
Date: Sat, 4 Jul 2020 01:06:08 +0200
Subject: [PATCH] fix: use the named export of shared components

---
 app/components/NextPageButton/index.js                          | 2 +-
 .../component-chat/src/SuperChatInput/SuperChatInput.jsx        | 2 +-
 app/components/component-profile/src/Profile.jsx                | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/components/NextPageButton/index.js b/app/components/NextPageButton/index.js
index 8877faea06..178c3d006f 100644
--- a/app/components/NextPageButton/index.js
+++ b/app/components/NextPageButton/index.js
@@ -2,7 +2,7 @@ import VisibilitySensor from 'react-visibility-sensor'
 import { Link } from 'react-router-dom'
 import React from 'react'
 import PropTypes from 'prop-types'
-import Spinner from '../shared/Spinner'
+import { Spinner } from '../shared'
 import { HasNextPage, NextPageButton } from './style'
 
 const NextPageButtonWrapper = props => {
diff --git a/app/components/component-chat/src/SuperChatInput/SuperChatInput.jsx b/app/components/component-chat/src/SuperChatInput/SuperChatInput.jsx
index 6b3f494e42..68697f73ad 100644
--- a/app/components/component-chat/src/SuperChatInput/SuperChatInput.jsx
+++ b/app/components/component-chat/src/SuperChatInput/SuperChatInput.jsx
@@ -7,7 +7,7 @@ import { useMutation } from '@apollo/react-hooks'
 
 // import compose from 'recompose/compose';
 // import { connect } from 'react-redux';
-import Icon from '../../../shared/Icon'
+import { Icon } from '../../../shared'
 // import { addToastWithTimeout } from 'src/actions/toasts';
 // import { openModal } from 'src/actions/modals';
 // import { replyToMessage } from 'src/actions/message';
diff --git a/app/components/component-profile/src/Profile.jsx b/app/components/component-profile/src/Profile.jsx
index 9ae59a80bd..957788567f 100644
--- a/app/components/component-profile/src/Profile.jsx
+++ b/app/components/component-profile/src/Profile.jsx
@@ -6,7 +6,7 @@ import gql from 'graphql-tag'
 import { useQuery } from '@apollo/react-hooks'
 import { useDropzone } from 'react-dropzone'
 
-import Spinner from '../../shared/Spinner'
+import { Spinner } from '../../shared'
 import ChangeUsername from './ChangeUsername'
 import { BigProfileImage } from './ProfileImage'
 import PageWithHeader from './PageWithHeader'
-- 
GitLab