diff options
Diffstat (limited to 'src/components/ui/Infobox.tsx')
-rw-r--r-- | src/components/ui/Infobox.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/ui/Infobox.tsx b/src/components/ui/Infobox.tsx index 742717ed7..14e1a581c 100644 --- a/src/components/ui/Infobox.tsx +++ b/src/components/ui/Infobox.tsx | |||
@@ -6,6 +6,7 @@ import { noop } from 'lodash'; | |||
6 | import { observer } from 'mobx-react'; | 6 | import { observer } from 'mobx-react'; |
7 | import Loader from './loader/index'; | 7 | import Loader from './loader/index'; |
8 | import Icon from './icon'; | 8 | import Icon from './icon'; |
9 | import { DEFAULT_LOADER_COLOR } from '../../config'; | ||
9 | 10 | ||
10 | const icons = { | 11 | const icons = { |
11 | 'checkbox-marked-circle-outline': mdiCheckboxMarkedCircleOutline, | 12 | 'checkbox-marked-circle-outline': mdiCheckboxMarkedCircleOutline, |
@@ -84,7 +85,11 @@ class Infobox extends Component<IProps, IState> { | |||
84 | className="contentWrapper" | 85 | className="contentWrapper" |
85 | style={{ display: 'flex', gap: '8px' }} | 86 | style={{ display: 'flex', gap: '8px' }} |
86 | > | 87 | > |
87 | <Loader size={18} loaded={!ctaLoading} color="#FFFFFF" /> | 88 | <Loader |
89 | size={18} | ||
90 | loaded={!ctaLoading} | ||
91 | color={DEFAULT_LOADER_COLOR} | ||
92 | /> | ||
88 | {ctaLabel} | 93 | {ctaLabel} |
89 | </div> | 94 | </div> |
90 | </button> | 95 | </button> |