File tree Expand file tree Collapse file tree 2 files changed +0
-28
lines changed
examples/stake-tokens/components/staking Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -123,20 +123,6 @@ export const RedelegateModal = ({
123123 onValueChange = { ( val ) => {
124124 setAmount ( val ) ;
125125 } }
126- // onValueInput={(val) => {
127- // if (!val) {
128- // setAmount(undefined);
129- // return;
130- // }
131-
132- // if (new BigNumber(val).gt(maxAmount)) {
133- // setAmount(Number(maxAmount));
134- // forceUpdate((n) => n + 1);
135- // return;
136- // }
137-
138- // setAmount(Number(val));
139- // }}
140126 partials = { [
141127 {
142128 label : '1/2' ,
Original file line number Diff line number Diff line change @@ -138,20 +138,6 @@ export const UndelegateModal = ({
138138 onValueChange : ( val ) => {
139139 setAmount ( val ) ;
140140 } ,
141- // onValueInput: (val) => {
142- // if (!val) {
143- // setAmount(undefined);
144- // return;
145- // }
146-
147- // if (new BigNumber(val).gt(maxAmount)) {
148- // setAmount(Number(maxAmount));
149- // forceUpdate((n) => n + 1);
150- // return;
151- // }
152-
153- // setAmount(Number(val));
154- // },
155141 partials : [
156142 {
157143 label : '1/2' ,
You can’t perform that action at this time.
0 commit comments