Skip to content

Commit 512f954

Browse files
committed
fix: tutorial targets sidebar content links instead of logo
1 parent 54ecd4f commit 512f954

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/tour/welcome-tour.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export {
1616

1717
const SIDEBAR_TOGGLE_SEL = 'button[title="Toggle Sidebar"]';
1818
const SIDEBAR_ROOT_SEL = '[data-slot="sidebar"]';
19-
const SIDEBAR_LINK = (href: string) => `[data-slot="sidebar"] a[href$="${href}"]`;
19+
const SIDEBAR_LINK = (href: string) => `[data-slot="sidebar-content"] a[href$="${href}"]`;
2020
const USER_MENU_SEL = 'header button:has(> img.rounded-full)';
2121
const TOUR = (tag: string) => `[data-tour="${tag}"]`;
2222

0 commit comments

Comments
 (0)