diff options
Diffstat (limited to 'src/components/settings/account/AccountDashboard.tsx')
-rw-r--r-- | src/components/settings/account/AccountDashboard.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/settings/account/AccountDashboard.tsx b/src/components/settings/account/AccountDashboard.tsx index ffa684458..eab019084 100644 --- a/src/components/settings/account/AccountDashboard.tsx +++ b/src/components/settings/account/AccountDashboard.tsx | |||
@@ -7,7 +7,11 @@ import { H1, H2 } from '../../ui/headline'; | |||
7 | import Loader from '../../ui/loader'; | 7 | import Loader from '../../ui/loader'; |
8 | import Button from '../../ui/button'; | 8 | import Button from '../../ui/button'; |
9 | import Infobox from '../../ui/infobox/index'; | 9 | import Infobox from '../../ui/infobox/index'; |
10 | import { LOCAL_SERVER, LIVE_FRANZ_API } from '../../../config'; | 10 | import { |
11 | DEFAULT_LOADER_COLOR, | ||
12 | LOCAL_SERVER, | ||
13 | LIVE_FRANZ_API, | ||
14 | } from '../../../config'; | ||
11 | import User from '../../../models/User'; | 15 | import User from '../../../models/User'; |
12 | 16 | ||
13 | const messages = defineMessages({ | 17 | const messages = defineMessages({ |
@@ -123,7 +127,7 @@ class AccountDashboard extends Component<IProp> { | |||
123 | )} | 127 | )} |
124 | {!isUsingWithoutAccount && ( | 128 | {!isUsingWithoutAccount && ( |
125 | <> | 129 | <> |
126 | {isLoading && <Loader color="#FFFFFF" />} | 130 | {isLoading && <Loader color={DEFAULT_LOADER_COLOR} />} |
127 | 131 | ||
128 | {!isLoading && userInfoRequestFailed && ( | 132 | {!isLoading && userInfoRequestFailed && ( |
129 | <Infobox | 133 | <Infobox |