feature/IO-3499-React-19: Bug Fixes / Checkpoint
This commit is contained in:
@@ -25,14 +25,14 @@ export default function ScoreboardRemoveButton({ scoreboardId }) {
|
||||
});
|
||||
|
||||
if (result.errors) {
|
||||
notification["error"]({
|
||||
message: t("scoreboard.errors.removing", {
|
||||
notification.error({
|
||||
title: t("scoreboard.errors.removing", {
|
||||
message: JSON.stringify(result.errors)
|
||||
})
|
||||
});
|
||||
} else {
|
||||
notification["success"]({
|
||||
message: t("scoreboard.successes.removed")
|
||||
notification.success({
|
||||
title: t("scoreboard.successes.removed")
|
||||
});
|
||||
}
|
||||
setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user