We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2948ddd commit d961342Copy full SHA for d961342
build/ui/src/components/Setup/RegisterNode.tsx
@@ -149,12 +149,6 @@ const RegisterNode: React.FC<RegisterNodeProps> = ({
149
}
150
};
151
152
- const enoughTokens = () => {
153
- return (
154
- enoughEthBalance(data?.nodeStatus, data?.networkRplPrice) && enoughRpl
155
- );
156
- };
157
-
158
function ErrorAlertBox(): JSX.Element {
159
return (
160
<>
@@ -217,7 +211,6 @@ const RegisterNode: React.FC<RegisterNodeProps> = ({
217
211
<Button
218
212
disabled={
219
213
!canRegisterNode?.canRegister ||
220
- !enoughTokens() ||
221
214
!isValidAddressEntered(addressEntered) ||
222
215
!actionsEnabled ||
223
216
isLoading
0 commit comments