Browse Source

fix: portal tool selection

Konstantinos Kaloutas 2 years ago
parent
commit
0cb77900b6

+ 1 - 1
tldraw/apps/tldraw-logseq/src/components/PrimaryTools/PrimaryTools.tsx

@@ -49,7 +49,7 @@ export const PrimaryTools = observer(function PrimaryTools() {
         />
         <Separator.Root className="tl-toolbar-separator" orientation="horizontal" />
         <ToolButton
-          handleClick={() => app.selectTool('`logseq-portal')}
+          handleClick={() => app.selectTool('logseq-portal')}
           tooltip="Add block or page"
           id="logseq-portal"
           icon="circle-plus"