diff --git a/frontend/src/pages/Login.tsx b/frontend/src/pages/Login.tsx index 19d93be..d887c95 100644 --- a/frontend/src/pages/Login.tsx +++ b/frontend/src/pages/Login.tsx @@ -1,4 +1,4 @@ -import { useToast } from "@chakra-ui/react"; +import { Button, useToast } from "@chakra-ui/react"; import { AxiosError } from "axios"; import type { ChangeEvent, FormEvent } from "react"; import { useState } from "react"; @@ -80,7 +80,9 @@ export function Login() { autoComplete="current-password" required={true} /> - + Main diff --git a/frontend/src/pages/ProfileDeletion.tsx b/frontend/src/pages/ProfileDeletion.tsx index 6bc835b..97c9806 100644 --- a/frontend/src/pages/ProfileDeletion.tsx +++ b/frontend/src/pages/ProfileDeletion.tsx @@ -1,4 +1,4 @@ -import { useToast } from "@chakra-ui/react"; +import { Button, useToast } from "@chakra-ui/react"; import { AxiosError } from "axios"; import { useNavigate } from "react-router-dom"; import { deleteProfile } from "../httpClient.ts"; @@ -57,21 +57,21 @@ export function ProfileDeletion() { profile? We're sad to see you go! Please remember, this action is permanent and you'll lose all your data."
- - > ); } diff --git a/frontend/src/pages/ProfileDetail.tsx b/frontend/src/pages/ProfileDetail.tsx index bfda1e5..40b2a8e 100644 --- a/frontend/src/pages/ProfileDetail.tsx +++ b/frontend/src/pages/ProfileDetail.tsx @@ -1,3 +1,4 @@ +import { Button } from "@chakra-ui/react"; import { Link, useNavigate } from "react-router-dom"; import { usePetClinicState } from "../state.ts"; @@ -27,13 +28,13 @@ export function ProfileDetail() { Profile update -