Skip to content

Commit

Permalink
fix some more types
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Jun 21, 2024
1 parent b4f7301 commit 8571f8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/pages/Labware/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export function Labware(): JSX.Element {
goBack={() => {
setShowLC(false)
}}
save={(file: any) => {
save={(file: string) => {
dispatch(addCustomLabwareFileFromCreator(file))
}}
isOnRunApp
Expand Down
2 changes: 1 addition & 1 deletion app/src/redux/custom-labware/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 8571f8d

Please sign in to comment.