Skip to content

Commit

Permalink
chore: fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Feb 5, 2025
1 parent bbedaeb commit e6eb1d8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@nx/storybook": "20.1.0",
"@nx/vite": "20.1.0",
"@nx/web": "20.1.0",
"@ory/client": "1.6.2",
"@ory/client": "1.16.5",
"@playwright/experimental-ct-react": "1.46.0",
"@preact/preset-vite": "2.5.0",
"@storybook/addon-docs": "8.3.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/react/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export default defineConfig({
css: {
postcss: {
plugins: [
autoprefixer({}), // add options if needed
// eslint-disable-next-line @typescript-eslint/no-explicit-any
autoprefixer({}) as any, // add options if needed
],
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/react-components/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const IntlProvider = <
let translation = locales.en

if (props.locale && props.locale in locales) {
translation = locales[props.locale as locale]
translation = { ...locales.en, ...locales[props.locale as locale] }
}

const intlProps = isCustomTranslations(props)
Expand Down
2 changes: 1 addition & 1 deletion src/theme/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export interface Theme {
}

export const defaultFont: Font = {
fontFamily: `"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;"`,
fontFamily: `"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;`,
fontFamilyMono: "JetBrainsMono",
fontStyle: "normal",
}
Expand Down

0 comments on commit e6eb1d8

Please sign in to comment.