diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-07-02 05:13:38 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-07-02 06:19:03 +0530 |
commit | d16cc1f2c59818e53f28b4d6b4d27250331f15d7 (patch) | |
tree | 57bf4d149ec2be88dd0d351142998ce96db0d659 /src/components | |
parent | chore: correctly export/import ui elements (diff) | |
download | ferdium-app-d16cc1f2c59818e53f28b4d6b4d27250331f15d7.tar.gz ferdium-app-d16cc1f2c59818e53f28b4d6b4d27250331f15d7.tar.zst ferdium-app-d16cc1f2c59818e53f28b4d6b4d27250331f15d7.zip |
Use default exports instead of named exports
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/auth/Welcome.js | 2 | ||||
-rw-r--r-- | src/components/ui/AppLoader/index.tsx | 2 | ||||
-rw-r--r-- | src/components/ui/Link.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/components/auth/Welcome.js b/src/components/auth/Welcome.js index 18b506eba..830501ac3 100644 --- a/src/components/auth/Welcome.js +++ b/src/components/auth/Welcome.js | |||
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types'; | |||
4 | import { observer, PropTypes as MobxPropTypes, inject } from 'mobx-react'; | 4 | import { observer, PropTypes as MobxPropTypes, inject } from 'mobx-react'; |
5 | import { defineMessages, injectIntl } from 'react-intl'; | 5 | import { defineMessages, injectIntl } from 'react-intl'; |
6 | import serverlessLogin from '../../helpers/serverless-helpers'; | 6 | import serverlessLogin from '../../helpers/serverless-helpers'; |
7 | import { shuffleArray } from '../../helpers/array-helpers'; | 7 | import shuffleArray from '../../helpers/array-helpers'; |
8 | import { serverName } from '../../api/apiBase'; | 8 | import { serverName } from '../../api/apiBase'; |
9 | 9 | ||
10 | import Link from '../ui/Link'; | 10 | import Link from '../ui/Link'; |
diff --git a/src/components/ui/AppLoader/index.tsx b/src/components/ui/AppLoader/index.tsx index e80371e47..caa7e381d 100644 --- a/src/components/ui/AppLoader/index.tsx +++ b/src/components/ui/AppLoader/index.tsx | |||
@@ -3,7 +3,7 @@ import classnames from 'classnames'; | |||
3 | 3 | ||
4 | import injectStyle from 'react-jss'; | 4 | import injectStyle from 'react-jss'; |
5 | import FullscreenLoader from '../FullscreenLoader'; | 5 | import FullscreenLoader from '../FullscreenLoader'; |
6 | import { shuffleArray } from '../../../helpers/array-helpers'; | 6 | import shuffleArray from '../../../helpers/array-helpers'; |
7 | 7 | ||
8 | import styles from './styles'; | 8 | import styles from './styles'; |
9 | 9 | ||
diff --git a/src/components/ui/Link.js b/src/components/ui/Link.js index 05d511a81..5ab19bf74 100644 --- a/src/components/ui/Link.js +++ b/src/components/ui/Link.js | |||
@@ -5,7 +5,7 @@ import { RouterStore } from 'mobx-react-router'; | |||
5 | import classnames from 'classnames'; | 5 | import classnames from 'classnames'; |
6 | 6 | ||
7 | import { oneOrManyChildElements } from '../../prop-types'; | 7 | import { oneOrManyChildElements } from '../../prop-types'; |
8 | import { matchRoute } from '../../helpers/routing-helpers'; | 8 | import matchRoute from '../../helpers/routing-helpers'; |
9 | import { openExternalUrl } from '../../helpers/url-helpers'; | 9 | import { openExternalUrl } from '../../helpers/url-helpers'; |
10 | 10 | ||
11 | // Should this file be converted into the coding style similar to './toggle/index.tsx'? | 11 | // Should this file be converted into the coding style similar to './toggle/index.tsx'? |