Resolve warning

Co-authored-by: brunnerh <brunnerh@users.noreply.github.com>
This commit is contained in:
Eric Liu 2024-10-23 20:25:24 -07:00 committed by GitHub
commit 6058bcb344
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -94,8 +94,7 @@
dispatch("change", parse(e.target.value));
};
// svelte-ignore reactive_declaration_non_reactive_property
$: isFluid = !!ctx && ctx.isFluid;
const isFluid = !!ctx && ctx.isFluid;
$: error = invalid && !readonly;
$: helperId = `helper-${id}`;
$: errorId = `error-${id}`;