From cbf2afc665360a26a3eb1285777d140598b36d85 Mon Sep 17 00:00:00 2001 From: Jethary Date: Fri, 21 Jun 2024 09:33:40 -0400 Subject: [PATCH] fix some more types --- app/src/pages/Labware/index.tsx | 2 +- app/src/redux/custom-labware/actions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/pages/Labware/index.tsx b/app/src/pages/Labware/index.tsx index 159e3a53116b..9486f0ad370c 100644 --- a/app/src/pages/Labware/index.tsx +++ b/app/src/pages/Labware/index.tsx @@ -130,7 +130,7 @@ export function Labware(): JSX.Element { goBack={() => { setShowLC(false) }} - save={(file: any) => { + save={(file: string) => { dispatch(addCustomLabwareFileFromCreator(file)) }} isOnRunApp diff --git a/app/src/redux/custom-labware/actions.ts b/app/src/redux/custom-labware/actions.ts index 575869a7b4bb..a5167b1f19ea 100644 --- a/app/src/redux/custom-labware/actions.ts +++ b/app/src/redux/custom-labware/actions.ts @@ -100,7 +100,7 @@ export const addCustomLabwareFile = ( meta: { shell: true }, }) -export const addCustomLabwareFileFromCreator = (file: File): any => ({ +export const addCustomLabwareFileFromCreator = (file: string): any => ({ type: ADD_CUSTOM_LABWARE_FILE_FROM_CREATOR, payload: { file }, meta: { shell: true },