Skip to content

Commit

Permalink
hmm
Browse files Browse the repository at this point in the history
  • Loading branch information
Abh1noob committed Mar 14, 2024
1 parent 43f50e0 commit 6d1ac2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion devsoc24-portal-fe/src/components/ToastContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Toaster } from "react-hot-toast";

const ToastContainer = () => {
return (
<div>
<div className="fixed">
<Toaster
position="top-right"
reverseOrder={false}
Expand All @@ -14,6 +14,7 @@ const ToastContainer = () => {
className: "",
duration: 3000,
style: {
position: "fixed",
background: "#FFFFFF",
color: "#000000",
},
Expand Down
2 changes: 1 addition & 1 deletion devsoc24-portal-fe/src/components/team/kick.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const Kick = () => {
await toast.promise(handleClick(), {
loading: "Loading...",
success: () => {
return `Accepted`;
return `Kicked`;
},
error: `Something went wrong`,
});
Expand Down
2 changes: 1 addition & 1 deletion devsoc24-portal-fe/src/components/team/leaveTeam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const LeaveTeam = () => {
await toast.promise(handleClick(), {
loading: "Loading...",
success: () => {
return `Accepted`;
return `Successful`;
},
error: `Something went wrong`,
});
Expand Down

0 comments on commit 6d1ac2e

Please sign in to comment.