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 },