import { Link, } from "react-router-dom"; import React, { useState } from "react"; interface login { id : string; password : string; } const fake = {id : "asdf", password : "qwer"} function Logindata(fake :login){ const [id, setId] = useState(""); const [password, setPassword] = useState(""); return(