Skip to content

Commit 3275ad4

Browse files
committed
fix: sortedContacts not reactive
1 parent 0f11595 commit 3275ad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/section/talent-pool/components/talent-card.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
};
2323
export let contacts: Contact[] = [];
2424
25-
let sortedContacts = contacts.sort((a, b) => CONTACT_PRIORITY_ORDER[b.type] - CONTACT_PRIORITY_ORDER[a.type]);
25+
$: sortedContacts = contacts.sort((a, b) => CONTACT_PRIORITY_ORDER[b.type] - CONTACT_PRIORITY_ORDER[a.type]);
2626
</script>
2727

2828
<div

0 commit comments

Comments
 (0)