Skip to content

Commit

Permalink
fix build (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
Himali-Malvawala committed Feb 8, 2024
1 parent 098ca00 commit 40c393c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/people/components/EditCondition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function EditCondition(props: Props) {
obj = [{ value: parsedObj.value, text: parsedObj.text }, { from: parsedObj?.from, to: e.target.value }];
}
c.value = JSON.stringify(obj);
break;
break;
}
setCondition(c);
}
Expand Down Expand Up @@ -118,7 +118,7 @@ export function EditCondition(props: Props) {
<TextField fullWidth label="To" name="to" type="date" InputLabelProps={{ shrink: true }} onChange={handleChange} />
</Stack>
</>;
break;
break;
default:
result = <TextField fullWidth label="Value" style={{ marginBottom: 5 }} name="value" type="text" placeholder="Value" value={condition.value} onChange={handleChange} />
break;
Expand Down

0 comments on commit 40c393c

Please sign in to comment.