Skip to content

Commit

Permalink
feat: update snackbar
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrskr committed Nov 30, 2023
1 parent 7e43e9c commit 0668e2c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ export const InteractionsWidget: React.FC = () => {
!value
);

snackbar.enqueueSnackbar("Login success", {
snackbar.enqueueSnackbar(`${!value ? "Buy" : "Sell"} success`, {
variant: "success",
});
} catch (e) {
snackbar.enqueueSnackbar("Login failed", {
snackbar.enqueueSnackbar(`${!value ? "Buy" : "Sell"} fail`, {
variant: "error",
});
}
Expand Down

0 comments on commit 0668e2c

Please sign in to comment.