We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eb40ba commit 84de36eCopy full SHA for 84de36e
ui/src/components/feature/interpret.tsx
@@ -60,7 +60,9 @@ const FeatureCustomInterpretionArea = ({
60
export const FeatureInterpretation = ({ feature }: { feature: Feature }) => {
61
const [showCustomInput, setShowCustomInput] = useState<boolean>(false);
62
63
- const [interpretation, setInterpretation] = useState<Interpretation | null>(feature.interpretation);
+ const [interpretation, setInterpretation] = useState<Interpretation | null>(
64
+ feature.interpretation || null
65
+ );
66
67
const [validating, setValidating] = useState<boolean>(false);
68
0 commit comments