- {loginSuccess ? (
-
- {/* poner aqui la aplicacion */}
-
- Hello {username}!
-
-
- Your account was created on {new Date(createdAt).toLocaleDateString()}.
-
-
- ) : (
{t('login')}
@@ -71,18 +62,19 @@ const Login = (props: ActionProps) => {
value={password}
onChange={(e) => setPassword(e.target.value)}
/>
-
-
+
+
+
+
{error && (
setError('')} message={`Error: ${error}`} />
)}
- )}
);
};
diff --git a/webapp/src/components/Scoreboard.tsx b/webapp/src/components/Scoreboard.tsx
new file mode 100644
index 0000000..26eccd1
--- /dev/null
+++ b/webapp/src/components/Scoreboard.tsx
@@ -0,0 +1,16 @@
+
+
+
+const Scoreboard = (
+
+) => {
+
+ return (
+