mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
refactor(console): imporve custom phrase fetch request error handling (#6015)
This commit is contained in:
parent
d17e26ab30
commit
15a51a4426
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue