limit use of query stacked notes

This commit is contained in:
Julien Calixte
2023-08-14 19:03:43 +02:00
parent 780eaeb7f7
commit 37f2ed57a8
2 changed files with 0 additions and 6 deletions

View File

@@ -58,10 +58,6 @@ export const useQueryStackedNotes = () => {
}
const getStackedNotes = () => {
if (!sha) {
return []
}
if (!currentSHA) {
return [sha]
}

View File

@@ -3,9 +3,7 @@ import { computed } from 'vue'
import FluxNote from '@/components/FluxNote.vue'
import { useComputeBacklinks } from '@/hooks/useComputeBacklinks.hook'
import { useQueryStackedNotes } from '@/hooks/useQueryStackedNotes.hook'
useQueryStackedNotes()
useComputeBacklinks()
const props = defineProps<{ user: string; repo: string }>()