mirror of
https://github.com/wassname/talk.git
synced 2026-08-05 13:30:26 +08:00
Tiny renaming
This commit is contained in:
@@ -123,7 +123,7 @@ class ModerationContainer extends Component {
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
notification.handleMutationErrors(err);
|
||||
notification.showMutationErrors(err);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ export function info(msg) {
|
||||
return toast(msg, {type: 'info'});
|
||||
}
|
||||
|
||||
export function handleMutationErrors(err) {
|
||||
export function showMutationErrors(err) {
|
||||
const errors = Array.isArray(err) ? err : [err];
|
||||
errors.forEach((err) => {
|
||||
console.error(err);
|
||||
|
||||
Reference in New Issue
Block a user