Skip to content

Commit 2826257

Browse files
committed
client: Fix more type check issues
1 parent 59481fe commit 2826257

File tree

4 files changed

+26
-12
lines changed

4 files changed

+26
-12
lines changed

client/js/helpers/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,4 @@ export function i18nFormat(translated: string, params?: {[index: string]: string
9999
return formatted;
100100
}
101101

102-
export const LocalizationContext = React.createContext();
102+
export const LocalizationContext = React.createContext(undefined);

client/js/templates/SourceParam.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export default function SourceParam(
9898
<select
9999
id={`${spoutParamName}-${sourceId}`}
100100
name={spoutParamName}
101-
size="1"
101+
size={1}
102102
value={value}
103103
onChange={updateSourceParam}
104104
>

client/package-lock.json

Lines changed: 23 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"@parcel/transformer-sass": "^2.0.0",
3434
"@parcel/transformer-webmanifest": "^2.0.0",
3535
"@types/history": "^4.7.11",
36+
"@types/react": "^18.2.17",
3637
"@typescript-eslint/eslint-plugin": "^6.2.0",
3738
"@typescript-eslint/parser": "^6.2.0",
3839
"autoprefixer": "^10.4.0",

0 commit comments

Comments
 (0)