Skip to content

Commit

Permalink
fix(console): only ignore 404 error when fetching custom phrases
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyijun committed Jun 13, 2024
1 parent 930f23e commit 0ffdf41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function LanguageDetails() {
const [isDeletionAlertOpen, setIsDeletionAlertOpen] = useState(false);
const isBuiltIn = isBuiltInLanguageTag(selectedLanguage);
const isDefaultLanguage = signInExperience?.languageInfo.fallbackLanguage === selectedLanguage;
const fetchApi = useApi({ hideErrorToast: true });
const fetchApi = useApi({ hideErrorToast: ['entity.not_found'] });
const fetcher = useSwrFetcher<CustomPhraseResponse>(fetchApi);

const translationData = useMemo(
Expand Down

0 comments on commit 0ffdf41

Please sign in to comment.