hide hidden hints again when goal changes

This commit is contained in:
Alexander Bentkamp
2023-03-07 09:25:57 +01:00
parent 1c3fa815da
commit d71f43b854
+1 -1
View File
@@ -146,7 +146,7 @@ export const Goal = React.memo((props: GoalProps) => {
// if (props.goal.isInserted) cn += 'b--inserted ' // if (props.goal.isInserted) cn += 'b--inserted '
// if (props.goal.isRemoved) cn += 'b--removed ' // if (props.goal.isRemoved) cn += 'b--removed '
const hints = <Hints hints={goal.hints} /> const hints = <Hints hints={goal.hints} key={goal.mvarId} />
const objectHyps = hyps.filter(hyp => !hyp.isAssumption) const objectHyps = hyps.filter(hyp => !hyp.isAssumption)
const assumptionHyps = hyps.filter(hyp => hyp.isAssumption) const assumptionHyps = hyps.filter(hyp => hyp.isAssumption)
const {commandLineMode} = React.useContext(InputModeContext) const {commandLineMode} = React.useContext(InputModeContext)