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 (#13487)

Set a protocol-specific key in the ChooseProtocolSlideout instantiation from the ProtocolsList
  • Loading branch information
ncdiehl11 authored Sep 11, 2023
1 parent 65d148a commit b247639
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 b247639

Please sign in to comment.