diff --git a/client/views/account/preferences/AccountPreferencesPage.js b/client/views/account/preferences/AccountPreferencesPage.js index 5c21a6d15de2..82161eceb1d5 100644 --- a/client/views/account/preferences/AccountPreferencesPage.js +++ b/client/views/account/preferences/AccountPreferencesPage.js @@ -45,7 +45,7 @@ const AccountPreferencesPage = () => { const handleSave = useCallback(async () => { try { const { current: data } = saveData; - if (data.highlights || data.hightlights === '') { + if (data.highlights || data.highlights === '') { Object.assign(data, { highlights: data.highlights.split(/,|\n/).map((val) => val.trim()).filter(Boolean) }); }