You've already forked obsidian-visualiser
Set markdown renderer as client only to fix hydration issues. Will later try to improve it and set it back as normal
This commit is contained in:
@@ -54,9 +54,9 @@ async function fetch()
|
||||
fetched.value = true;
|
||||
pending.value = true;
|
||||
|
||||
const { data } = await useFetch(`/api/project/${props.project}/file/${encodeURIComponent(props.path)}`);
|
||||
const data = await $fetch(`/api/project/${props.project}/file/${encodeURIComponent(props.path)}`);
|
||||
|
||||
pending.value = false;
|
||||
file.value = data.value;
|
||||
file.value = data;
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user