-
-
setUserName(e.target.value)}
- className="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-md focus:ring-blue-500 focus:border-blue-500 block w-full p-3 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
+
+ {/* Balance Display */}
+
+
+
+
+ Balance: {bigIntToStr(balance)} {computer.getChain()}
+
+
+ {computer.getNetwork() === 'regtest' && (
+
+ )}
-
-
+ )}
+
+
+ {/* Form */}
+
- >
+
)}
- >
+
)
}
export function CreateUserModal({
setUser,
+ currentBalance,
}: {
setUser: React.Dispatch