apply stashed change before merge bradley
This commit is contained in:
@@ -6,7 +6,6 @@ import { toast } from "sonner";
|
||||
|
||||
const NPEDFields = () => {
|
||||
const { signIn, user, signOut } = useNPEDAuth();
|
||||
|
||||
const initialValues = user
|
||||
? {
|
||||
username: user.propUsername.value,
|
||||
@@ -28,7 +27,7 @@ const NPEDFields = () => {
|
||||
...values,
|
||||
};
|
||||
signIn(valuesToSend);
|
||||
toast.success("Signed in successfully");
|
||||
toast.success("Signed into NPED Successfully");
|
||||
};
|
||||
|
||||
const validateValues = (values: NPEDFieldType) => {
|
||||
@@ -41,6 +40,7 @@ const NPEDFields = () => {
|
||||
|
||||
const handleLogoutClick = () => {
|
||||
signOut();
|
||||
toast.warning("logged out of NPED");
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user