diff --git a/app/src/pages/Labware/index.tsx b/app/src/pages/Labware/index.tsx index 67370416315f..c017e6fdead8 100644 --- a/app/src/pages/Labware/index.tsx +++ b/app/src/pages/Labware/index.tsx @@ -134,7 +134,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 },