Skip to content

Commit

Permalink
gross but
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Apr 13, 2024
1 parent 41a0458 commit b78d265
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,19 @@
value === undefined && (value = "");
return box(
() => value as string,
(v) => (value = v)
(v) => {
value = v;
onValueChange?.(v as string[] & string);
}
);
}
value === undefined && (value = []);
return box(
() => value as string[],
(v) => (value = v)
(v) => {
value = v;
onValueChange?.(v as string[] & string);
}
);
}
Expand Down

0 comments on commit b78d265

Please sign in to comment.