Changeset 3727852 for frontend/src/Login.tsx
- Timestamp:
- 01/26/26 17:59:16 (6 months ago)
- Branches:
- main
- Children:
- 484dc3f
- Parents:
- 4022db1
- File:
-
- 1 edited
-
frontend/src/Login.tsx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/Login.tsx
r4022db1 r3727852 3 3 import axiosInstance, { scheduleTokenRefresh } from "./api/axiosInstance"; 4 4 import { useAuth } from "./context/authContext"; 5 import type { User Response} from "./types";5 import type { User } from "./types"; 6 6 7 7 const Login = () => { … … 16 16 try { 17 17 const response = await axiosInstance.post<{ 18 user: User Response;18 user: User; 19 19 tokenExpiresIn: number; 20 20 }>("/auth/login", { username, password }); … … 65 65 <button 66 66 type="submit" 67 className="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg text-sm font-medium transition-colors duration-200 w-full "67 className="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg text-sm font-medium transition-colors duration-200 w-full cursor-pointer" 68 68 > 69 69 Login
Note:
See TracChangeset
for help on using the changeset viewer.
