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 = ({
123
123
onValueChange = { ( val ) => {
124
124
setAmount ( val ) ;
125
125
} }
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
- // }}
140
126
partials = { [
141
127
{
142
128
label : '1/2' ,
Original file line number Diff line number Diff line change @@ -138,20 +138,6 @@ export const UndelegateModal = ({
138
138
onValueChange : ( val ) => {
139
139
setAmount ( val ) ;
140
140
} ,
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
- // },
155
141
partials : [
156
142
{
157
143
label : '1/2' ,
You can’t perform that action at this time.
0 commit comments