0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

chore(console): remove unwanted console log (#3582)

This commit is contained in:
Xiao Yijun 2023-03-22 18:52:37 +08:00 committed by GitHub
parent 6cd15d0698
commit aca6a9eeca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,6 @@ function LanguageDetails() {
}, [api, globalMutate, isDefaultLanguage, languages, selectedLanguage, setSelectedLanguage]);
const onSubmit = handleSubmit(async (formData: Translation) => {
console.log(formData);
const updatedCustomPhrase = await upsertCustomPhrase(selectedLanguage, formData);
void mutate(updatedCustomPhrase);
toast.success(t('general.saved'));