Skip to content

Commit 8ec192f

Browse files
MikeListerajhillman-ddj
authored andcommitted
Tidy up comments
1 parent 8d4c9af commit 8ec192f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/components/ui/Accordion.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
headingLevel?: string;
3838
} = $props();
3939
40+
//Attempt to ensure that ids are unique by attaching extra characters
4041
let uniqueSections = sections.map((section, i) => {
4142
return {
4243
...section,
@@ -108,7 +109,7 @@
108109
}
109110
});
110111
111-
// Effect to update sessionStorage when sections change
112+
// Effect to update sessionStorage when uniqueSections change
112113
$effect(() => {
113114
if (browser && rememberIsExpandedState) {
114115
uniqueSections.forEach((section) => {

0 commit comments

Comments
 (0)