summaryrefslogtreecommitdiff
path: root/components/Sidebar/Link.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-14 16:30:30 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-14 16:30:30 +0200
commit28b76ba05d8c593ee5252299b0b177f2494004d4 (patch)
tree300723632e80ac613570bd7052e1e5b03a9c4386 /components/Sidebar/Link.tsx
parent4fd9bc344d4a94fc081a43d19067e70ef494e4ae (diff)
fix: display non-rel image
Diffstat (limited to 'components/Sidebar/Link.tsx')
-rw-r--r--components/Sidebar/Link.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/Sidebar/Link.tsx b/components/Sidebar/Link.tsx
index f3ada7d..9f6ed76 100644
--- a/components/Sidebar/Link.tsx
+++ b/components/Sidebar/Link.tsx
@@ -102,6 +102,7 @@ export const PreviewLink = (props: LinkProps) => {
const [whatever, type, uri] = [...href.matchAll(/(.*?)\:(.*)/g)][0]
const [hover, setHover] = useState(false)
+ console.log(href)
const getId = (type: string, uri: string) => {
if (type === 'id') {
return uri