remove superfluous logging
This commit is contained in:
parent
5a10557e47
commit
4bb308b1f2
|
@ -87,7 +87,6 @@ function EmojiDetail({emoji}) {
|
|||
|
||||
React.useEffect(() => {
|
||||
if (category != emoji.category && !categoryState.open && !isNewCategory && category.trim().length > 0) {
|
||||
console.log("updating to", category);
|
||||
modifyEmoji({id: emoji.id, category: category.trim()});
|
||||
}
|
||||
}, [isNewCategory, category, categoryState.open, emoji.category, emoji.id, modifyEmoji]);
|
||||
|
|
|
@ -97,13 +97,13 @@ module.exports = function NewEmojiForm({ emoji }) {
|
|||
image,
|
||||
shortcode,
|
||||
category
|
||||
}).unwrap();
|
||||
}).then(() => {
|
||||
resetFile();
|
||||
resetShortcode();
|
||||
resetCategory();
|
||||
}).catch((e) => {
|
||||
console.error("Emoji upload error:", e);
|
||||
});
|
||||
}).then((res) => {
|
||||
if (res.error == undefined) {
|
||||
resetFile();
|
||||
resetShortcode();
|
||||
resetCategory();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -164,7 +164,6 @@ function BulkBlocking() {
|
|||
setStatus(stat);
|
||||
});
|
||||
}).catch((e) => {
|
||||
console.error(e);
|
||||
setError(e.message);
|
||||
setStatus("");
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue