summaryrefslogtreecommitdiff
path: root/components/Sidebar/Link.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2022-01-29 15:46:24 +0100
committerGitHub <[email protected]>2022-01-29 15:46:24 +0100
commit835c0029db437c7c2efff18f718a792ae5a1ccc0 (patch)
treeca9f60e54206f5d4736253955e327b4c48156fb2 /components/Sidebar/Link.tsx
parentf1e1769d97e4f44d7336839db587b0acbb918d99 (diff)
parentb38fa6ad4f00e6f81e11590d2fa3d612ced47e7b (diff)
Merge pull request #203 from egh/fix/106
Diffstat (limited to 'components/Sidebar/Link.tsx')
-rw-r--r--components/Sidebar/Link.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/Sidebar/Link.tsx b/components/Sidebar/Link.tsx
index e5b1102..6130eb5 100644
--- a/components/Sidebar/Link.tsx
+++ b/components/Sidebar/Link.tsx
@@ -152,7 +152,7 @@ export const PreviewLink = (props: LinkProps) => {
const extraNoteStyle = outline ? outlineNoteStyle : viewerNoteStyle
console.log(previewNode)
const getText = () => {
- fetch(`http://localhost:35901/file/${file}`)
+ fetch(`http://localhost:35901/node/${id}`)
.then((res) => {
return res.text()
})