This commit is contained in:
2026-01-03 14:00:50 +01:00
parent 051202edc9
commit be3cf4175e

View File

@@ -1,14 +1,8 @@
import { jwtDecode, JwtPayload } from "jwt-decode";
import { jwtDecode } from "jwt-decode";
import { FormEvent, useEffect, useState } from "react";
import { baseUrl, Gender } from "./api";
import { useNavigate } from "react-router";
interface PassToken extends JwtPayload {
username: string;
name: string;
team_id: number;
}
import { baseUrl, Gender, PassToken } from "./api";
import { Link, useLocation, useNavigate } from "react-router";
import { TriangleAlert } from "lucide-react";
export const Register = () => {
const [name, setName] = useState("");