fix: Correct incomplete $state initialization in multiple Svelte components and pages.
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
select: { ticketId: Id<'tickets'> };
|
||||
}>();
|
||||
const props = $props<Props>();
|
||||
const ticket = $derived(props.ticket);
|
||||
const selected = $derived(props.selected ?? false);
|
||||
let ticket = $derived(props.ticket);
|
||||
let selected = $derived(props.selected ?? false);
|
||||
|
||||
const prioridadeClasses: Record<string, string> = {
|
||||
baixa: 'badge badge-sm bg-base-200 text-base-content/70',
|
||||
|
||||
Reference in New Issue
Block a user