Skip to content

Commit

Permalink
client: Fix more type check issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Aug 6, 2023
1 parent fef103e commit e2c447d
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/js/helpers/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ export function i18nFormat(translated: string, params?: {[index: string]: string
return formatted;
}

export const LocalizationContext = React.createContext();
export const LocalizationContext = React.createContext(undefined);
2 changes: 1 addition & 1 deletion client/js/templates/SourceParam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default function SourceParam(
<select
id={`${spoutParamName}-${sourceId}`}
name={spoutParamName}
size="1"
size={1}
value={value}
onChange={updateSourceParam}
>
Expand Down
30 changes: 30 additions & 0 deletions client/package-lock.json

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

1 change: 1 addition & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"@parcel/transformer-sass": "^2.0.0",
"@parcel/transformer-webmanifest": "^2.0.0",
"@types/history": "^4.7.11",
"@types/react": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"autoprefixer": "^10.4.0",
Expand Down

0 comments on commit e2c447d

Please sign in to comment.