diff --git a/client/src/components/History/Content/model/stateTypes.d.ts b/client/src/components/History/Content/model/stateTypes.d.ts index 9878b3dc411..3ef3a45c445 100644 --- a/client/src/components/History/Content/model/stateTypes.d.ts +++ b/client/src/components/History/Content/model/stateTypes.d.ts @@ -8,7 +8,7 @@ export type State = { }; export type States = { - [key in keyof typeof STATES]: State; + [_key in keyof typeof STATES]: State; }; export interface HelpText { diff --git a/client/src/composables/fileDrop.ts b/client/src/composables/fileDrop.ts index 5c281137695..400ca024a89 100644 --- a/client/src/composables/fileDrop.ts +++ b/client/src/composables/fileDrop.ts @@ -23,7 +23,7 @@ export function useFileDrop( type State = "idle" | "blocked" | "fileDragging"; type StateMachine = { - [state in State]: (event: MouseEvent) => State; + [_state in State]: (event: MouseEvent) => State; }; const currentState: Ref = ref("idle");