Skip to content

Commit 78835f6

Browse files
authored
Update main.tsx
1 parent 0ada03c commit 78835f6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ function main() {
5252
logseq.App.registerUIItem("toolbar", {
5353
key: openIconName,
5454
template: `
55-
<div data-on-click="show" class="${openIconName}">⚙️</div>
56-
`,
55+
<a data-on-click="show">
56+
<div class="${openIconName}">⚙️</div>
57+
</a>
58+
`,
5759
});
5860
}
5961

0 commit comments

Comments
 (0)