chore: fix types
This commit is contained in:
parent
90abfb6de8
commit
624d235a0e
@ -1,5 +1,5 @@
|
||||
import "@repo/config-tailwind/styles.css"
|
||||
import { defaultTranslationValues } from "@repo/i18n/config"
|
||||
import { defaultTranslationValues, Locale } from "@repo/i18n/config"
|
||||
import i18nMessagesEnglish from "@repo/i18n/translations/en-US.json"
|
||||
import { ThemeProvider } from "@repo/ui/Header/SwitchTheme"
|
||||
import type { Preview } from "@storybook/react"
|
||||
@ -32,11 +32,13 @@ const preview: Preview = {
|
||||
},
|
||||
decorators: [
|
||||
(Story) => {
|
||||
const locale = "en-US" satisfies Locale
|
||||
|
||||
return (
|
||||
<ThemeProvider>
|
||||
<NextIntlClientProvider
|
||||
messages={i18nMessagesEnglish}
|
||||
locale="en"
|
||||
locale={locale}
|
||||
defaultTranslationValues={defaultTranslationValues}
|
||||
>
|
||||
<Story />
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
"isolatedModules": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true
|
||||
"skipLibCheck": true,
|
||||
"jsx": "preserve"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user