Skip to content

Commit

Permalink
Satisfy svelte-check on value type
Browse files Browse the repository at this point in the history
  • Loading branch information
Acylation committed Sep 25, 2024
1 parent b134492 commit 08d0063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/components/FieldControl/FieldControl.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
export let field: DataField;
export let value: Optional<DataValue>;
let cachedValue: Optional<Date> = value; // store the proposing value
let cachedValue: Optional<Date> = isDate(value) ? value : null; // store the proposing value
export let onChange: (value: Optional<DataValue>) => void;
export let readonly: boolean = false;
Expand Down

0 comments on commit 08d0063

Please sign in to comment.