Skip to content

Commit

Permalink
fix(ui): minor type error
Browse files Browse the repository at this point in the history
  • Loading branch information
dest1n1s committed Jan 20, 2025
1 parent 4eb40ba commit 84de36e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/src/components/feature/interpret.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ const FeatureCustomInterpretionArea = ({
export const FeatureInterpretation = ({ feature }: { feature: Feature }) => {
const [showCustomInput, setShowCustomInput] = useState<boolean>(false);

const [interpretation, setInterpretation] = useState<Interpretation | null>(feature.interpretation);
const [interpretation, setInterpretation] = useState<Interpretation | null>(
feature.interpretation || null
);

const [validating, setValidating] = useState<boolean>(false);

Expand Down

0 comments on commit 84de36e

Please sign in to comment.