diff --git a/frontend/src/pages/client/pages/components/InteractionsWidget.tsx b/frontend/src/pages/client/pages/components/InteractionsWidget.tsx index f753de4..cdf9f7e 100644 --- a/frontend/src/pages/client/pages/components/InteractionsWidget.tsx +++ b/frontend/src/pages/client/pages/components/InteractionsWidget.tsx @@ -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", }); }