limit use of query stacked notes
This commit is contained in:
@@ -58,10 +58,6 @@ export const useQueryStackedNotes = () => {
|
||||
}
|
||||
|
||||
const getStackedNotes = () => {
|
||||
if (!sha) {
|
||||
return []
|
||||
}
|
||||
|
||||
if (!currentSHA) {
|
||||
return [sha]
|
||||
}
|
||||
|
||||
@@ -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 }>()
|
||||
|
||||
Reference in New Issue
Block a user