limit use of query stacked notes
This commit is contained in:
@@ -58,10 +58,6 @@ export const useQueryStackedNotes = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const getStackedNotes = () => {
|
const getStackedNotes = () => {
|
||||||
if (!sha) {
|
|
||||||
return []
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!currentSHA) {
|
if (!currentSHA) {
|
||||||
return [sha]
|
return [sha]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,9 +3,7 @@ import { computed } from 'vue'
|
|||||||
|
|
||||||
import FluxNote from '@/components/FluxNote.vue'
|
import FluxNote from '@/components/FluxNote.vue'
|
||||||
import { useComputeBacklinks } from '@/hooks/useComputeBacklinks.hook'
|
import { useComputeBacklinks } from '@/hooks/useComputeBacklinks.hook'
|
||||||
import { useQueryStackedNotes } from '@/hooks/useQueryStackedNotes.hook'
|
|
||||||
|
|
||||||
useQueryStackedNotes()
|
|
||||||
useComputeBacklinks()
|
useComputeBacklinks()
|
||||||
|
|
||||||
const props = defineProps<{ user: string; repo: string }>()
|
const props = defineProps<{ user: string; repo: string }>()
|
||||||
|
|||||||
Reference in New Issue
Block a user