Skip to content

Commit 2deddf4

Browse files
Remove isReferences check from currentVariant assignment
1 parent 1862567 commit 2deddf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/layouts/Docs.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
let variantClass = $derived(variantClasses[variant]);
6666
6767
$effect(() => {
68-
$layoutState.currentVariant = isReferences ? 'expanded' : variant;
68+
$layoutState.currentVariant = variant;
6969
});
7070
7171
afterNavigate(() => {

0 commit comments

Comments
 (0)