use useModal for all modals in protocol overview #48722
Annotations
5 errors and 10 warnings
typechecks:
protocol-designer/src/organisms/MaterialsListModal/__tests__/MaterialsListModal.test.tsx#L81
Object literal may only specify known properties, and 'setShowMaterialsListModal' does not exist in type 'MaterialsListModalProps'.
|
typechecks:
protocol-designer/src/pages/ProtocolOverview/__tests__/InstrumentsInfo.test.tsx#L90
Object literal may only specify known properties, and 'setShowEditInstrumentsModal' does not exist in type 'InstrumentsInfoProps'.
|
typechecks:
protocol-designer/src/pages/ProtocolOverview/__tests__/ProtocolMetadata.test.tsx#L38
Object literal may only specify known properties, and 'setShowEditMetadataModal' does not exist in type 'ProtocolMetadataProps'.
|
typechecks:
protocol-designer/src/pages/ProtocolOverview/__tests__/StartingDeck.test.tsx#L40
Object literal may only specify known properties, and 'setShowMaterialsListModal' does not exist in type 'StartingDeckProps'.
|
typechecks
Process completed with exit code 2.
|
lint js:
api-client/src/pipettes/types.ts#L62
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L69
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L77
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L81
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L90
A record is preferred over an index signature
|
lint js:
api-client/src/types.ts#L14
A record is preferred over an index signature
|
lint js:
app-shell-odd/src/actions.ts#L360
Expected property shorthand
|
lint js:
app-shell-odd/src/actions.ts#L368
Expected property shorthand
|
lint js:
app-shell-odd/src/actions.ts#L376
Expected property shorthand
|
lint js:
app-shell-odd/src/actions.ts#L384
Expected property shorthand
|
Loading