Skip to content

Commit

Permalink
fix prettier issue
Browse files Browse the repository at this point in the history
even though it seems like it's not fixing, it's actually breaking it
  • Loading branch information
yannbf committed Nov 30, 2022
1 parent cdbc25b commit 9897e45
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions code/addons/interactions/src/components/InteractionsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,21 @@ export const InteractionsPanel: React.FC<InteractionsPanelProps> = React.memo(
return (
<AddonPanel {...panelProps}>
<Container withException={!!caughtException}>
{controlStates.debugger && (interactions.length > 0 || hasException || isRerunAnimating) && (
<Subnav
controls={controls}
controlStates={controlStates}
status={
// eslint-disable-next-line no-nested-ternary
isPlaying ? CallStates.ACTIVE : hasException ? CallStates.ERROR : CallStates.DONE
}
storyFileName={fileName}
onScrollToEnd={onScrollToEnd}
isRerunAnimating={isRerunAnimating}
setIsRerunAnimating={setIsRerunAnimating}
/>
)}
{controlStates.debugger &&
(interactions.length > 0 || hasException || isRerunAnimating) && (
<Subnav
controls={controls}
controlStates={controlStates}
status={
// eslint-disable-next-line no-nested-ternary
isPlaying ? CallStates.ACTIVE : hasException ? CallStates.ERROR : CallStates.DONE
}
storyFileName={fileName}
onScrollToEnd={onScrollToEnd}
isRerunAnimating={isRerunAnimating}
setIsRerunAnimating={setIsRerunAnimating}
/>
)}
<div aria-label="Interactions list">
{interactions.map((call) => (
<Interaction
Expand Down

0 comments on commit 9897e45

Please sign in to comment.