Merged in fix/BOOK-399-default-language (pull request #2877)

fix(BOOK-399): Default language to 'en' when we've ended up in a invalid state

* fix(BOOK-399): Default language to 'en' when we've ended up in a invalid state

* PR fixes: reuse types and include local dev error message


Approved-by: Anton Gunnarsson
Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-09-29 14:18:27 +00:00
parent 7956a17a33
commit e4c5363fe9
7 changed files with 33 additions and 16 deletions

View File

@@ -1,5 +0,0 @@
import type { IntlConfig } from "react-intl"
export type ClientIntlProviderProps = React.PropsWithChildren<
Pick<IntlConfig, "defaultLocale" | "locale" | "messages">
>