diff options
Diffstat (limited to 'packages/website/ts/components/ui/allowance_state_view.tsx')
-rw-r--r-- | packages/website/ts/components/ui/allowance_state_view.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/website/ts/components/ui/allowance_state_view.tsx b/packages/website/ts/components/ui/allowance_state_view.tsx index c9a96859c..4e7a4cdf2 100644 --- a/packages/website/ts/components/ui/allowance_state_view.tsx +++ b/packages/website/ts/components/ui/allowance_state_view.tsx @@ -1,5 +1,6 @@ -import CircularProgress from 'material-ui/CircularProgress'; import * as React from 'react'; +import { Container } from 'ts/components/ui/container'; +import { Spinner } from 'ts/components/ui/spinner'; export enum AllowanceState { Locked, @@ -18,7 +19,11 @@ export const AllowanceStateView: React.StatelessComponent<AllowanceStateViewProp case AllowanceState.Unlocked: return renderCheck(); case AllowanceState.Loading: - return <CircularProgress size={16} thickness={2} />; + return ( + <Container position="relative" top="3px" left="5px"> + <Spinner size={18} strokeSize={2} /> + </Container> + ); default: return null; } |