Skip to content

Commit

Permalink
fix(app): clear errors from previous protocol run attemps in the choo…
Browse files Browse the repository at this point in the history
…serobotslideout

Set a protocol-specific key in the ChooseProtocolSlideout instantiation from the ProtocolsList
  • Loading branch information
ncdiehl11 committed Sep 7, 2023
1 parent 96834e6 commit a6e7844
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/organisms/ProtocolsLanding/ProtocolList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,13 @@ export function ProtocolList(props: ProtocolListProps): JSX.Element | null {
{selectedProtocol != null ? (
<>
<ChooseRobotToRunProtocolSlideout
key={selectedProtocol.protocolKey}
onCloseClick={() => setShowChooseRobotToRunProtocolSlideout(false)}
showSlideout={showChooseRobotToRunProtocolSlideout}
storedProtocolData={selectedProtocol}
/>
<SendProtocolToOT3Slideout
key={selectedProtocol.protocolKey}
isExpanded={showSendProtocolToOT3Slideout}
onCloseClick={() => setShowSendProtocolToOT3Slideout(false)}
storedProtocolData={selectedProtocol}
Expand Down

0 comments on commit a6e7844

Please sign in to comment.