Skip to content

Commit f82c962

Browse files
author
Ibrahim Haizel
committed
refactor: replace console logging with $inspect for improved state change tracking
1 parent 9cb1cd6 commit f82c962

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

src/lib/components/ui/MultiSelectSearchAutocomplete.svelte

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -935,20 +935,18 @@
935935
});
936936
937937
// Log component state changes
938-
$effect(() => {
939-
console.log("📊 Component state updated:", {
940-
id,
941-
name,
942-
multiple,
943-
value,
944-
items: items.length,
945-
groups: groups.length,
946-
enhancedItems: enhancedItems.length,
947-
staticChoices: staticChoices.length,
948-
computedPlaceholderText,
949-
computedRemoveItemButton,
950-
});
951-
});
938+
$inspect(
939+
id,
940+
name,
941+
multiple,
942+
value,
943+
items,
944+
groups,
945+
enhancedItems,
946+
staticChoices,
947+
computedPlaceholderText,
948+
computedRemoveItemButton,
949+
);
952950
</script>
953951

954952
<div

0 commit comments

Comments
 (0)