diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-21 00:16:55 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-21 00:16:55 +0800 |
commit | f27084ced46d88164b526ea5f281637ca87d0583 (patch) | |
tree | d0a6c9741e1c076c9705352bf749ddae17e9b0e2 /packages/website/ts/components/inputs | |
parent | cdcf624e9e6fe671611b239f903c2f2cb3097e7c (diff) | |
download | dexon-sol-tools-f27084ced46d88164b526ea5f281637ca87d0583.tar dexon-sol-tools-f27084ced46d88164b526ea5f281637ca87d0583.tar.gz dexon-sol-tools-f27084ced46d88164b526ea5f281637ca87d0583.tar.bz2 dexon-sol-tools-f27084ced46d88164b526ea5f281637ca87d0583.tar.lz dexon-sol-tools-f27084ced46d88164b526ea5f281637ca87d0583.tar.xz dexon-sol-tools-f27084ced46d88164b526ea5f281637ca87d0583.tar.zst dexon-sol-tools-f27084ced46d88164b526ea5f281637ca87d0583.zip |
Add loading state
Diffstat (limited to 'packages/website/ts/components/inputs')
-rw-r--r-- | packages/website/ts/components/inputs/allowance_state_toggle.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/inputs/allowance_state_toggle.tsx b/packages/website/ts/components/inputs/allowance_state_toggle.tsx index 7e8628e64..4a9c99ca7 100644 --- a/packages/website/ts/components/inputs/allowance_state_toggle.tsx +++ b/packages/website/ts/components/inputs/allowance_state_toggle.tsx @@ -6,5 +6,5 @@ export interface AllowanceStateToggleProps {} const flip = () => Math.random() < 0.5; export const AllowanceStateToggle: React.StatelessComponent<AllowanceStateToggleProps> = () => ( - <AllowanceStateView allowanceState={flip() ? 'locked' : 'unlocked'} /> + <AllowanceStateView allowanceState={flip() ? 'locked' : 'loading'} /> ); |