From cc8adf9c4ee7faef825a39f5cbcf6bdef0596ab0 Mon Sep 17 00:00:00 2001 From: Prrorr2 Date: Wed, 9 Aug 2023 21:51:39 +0200 Subject: [PATCH] Dependencies implemented --- src/Screens/Login.jsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/Screens/Login.jsx b/src/Screens/Login.jsx index af1edd6..d799c84 100644 --- a/src/Screens/Login.jsx +++ b/src/Screens/Login.jsx @@ -1,7 +1,7 @@ /*eslint-disable */ import { useEffect, useState } from "react"; import sjcl from "sjcl"; -export default function Login({ colors, setKeys }) { +export default function Login({ setKeys }) { function handleSubmit() { const privatekey = document.getElementById("privatekey").value; setKeys({ @@ -9,14 +9,13 @@ export default function Login({ colors, setKeys }) { }); } return ( -
+

BLC Wallet Login

@@ -39,9 +38,7 @@ export default function Login({ colors, setKeys }) { name="submit" type="submit" value="Enter" - className={ - "rounded bg-blue-500 text-white px-4 py-2 cursor-pointer" - } + className={"rounded bg-primary text-five px-4 py-2 cursor-pointer"} onClick={handleSubmit} />