Skip to content

Commit

Permalink
Fix fallback texts
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Aug 20, 2024
1 parent fad7454 commit c649b5a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/client/src/term/accept.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export const AcceptTerms = ({ children }: { children: React.ReactNode }) => {
setIsFetching(false);
if (termsObject.data) {
setTerms({
en: termsObject.data?.en,
fr: termsObject.data?.fr,
de: termsObject.data?.de,
it: termsObject.data?.it,
en: termsObject.data?.en || en,
fr: termsObject.data?.fr || fr,
de: termsObject.data?.de || de,
it: termsObject.data?.it || it,
});
}
});
Expand Down

0 comments on commit c649b5a

Please sign in to comment.