scope use links

This commit is contained in:
Julien Calixte
2023-07-19 17:25:44 +02:00
parent 2d15e1cf26
commit db38eaf639
2 changed files with 7 additions and 4 deletions

View File

@@ -24,8 +24,8 @@ const props = defineProps<{
const { scrollToFocusedNote } = useQueryStackedNotes()
const { content } = useFile(props.sha)
const { listenToClick } = useLinks('stacked-note', props.sha)
const className = computed(() => `stacked-note-${props.index}`)
const { listenToClick } = useLinks(className.value, props.sha)
const titleClassName = computed(() => `title-${className.value}`)
useTitleNotes(props.repo)