Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: various fixes and enhancements #2240

Merged
merged 17 commits into from
Jul 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ui: update toast position
  • Loading branch information
suhailkakar committed Jul 4, 2024
commit 6a5ea366c7cb50c2c13430abdb2a5575f569b566
3 changes: 1 addition & 2 deletions packages/www/components/Sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,12 @@ const Sidebar = ({ id }: { id: SidebarId }) => {
);
return;
}
toast("Password reset link sent to your email.");
const res = await makePasswordResetToken(user.email);
if (res.errors) {
res.errors.forEach((error) => {
toast(error);
});
} else {
toast("Password reset link sent to your email.");
}
};

Expand Down