diff --git a/src/store/selectors.ts b/src/store/selectors.ts index 51b1923..c826f6e 100644 --- a/src/store/selectors.ts +++ b/src/store/selectors.ts @@ -58,6 +58,8 @@ export const apiHeaderSel = (s: SiteStore): ApiHeader => { }; const localeValueSel = (s: SiteStore, value: any) => { + if (!value) return; + if (value[s.locale.id]) return value[s.locale.id]; return value;