⚡️ (flux note) no more asynchronous stacked note
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
||||
} from 'vue'
|
||||
|
||||
import LiteLoading from '@/components/LiteLoading.vue'
|
||||
import StackedNote from '@/components/StackedNote.vue'
|
||||
import { useLinks } from '@/hooks/useLinks.hook'
|
||||
import { useMarkdown } from '@/hooks/useMarkdown.hook'
|
||||
import { useNote } from '@/hooks/useNote.hook'
|
||||
@@ -22,10 +23,6 @@ const HeaderNote = defineAsyncComponent(
|
||||
() => import('@/components/HeaderNote.vue')
|
||||
)
|
||||
|
||||
const StackedNote = defineAsyncComponent(
|
||||
() => import('@/components/StackedNote.vue')
|
||||
)
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
user: string
|
||||
@@ -142,7 +139,7 @@ const focus = () => scrollToFocusedNote(undefined, true)
|
||||
:sha="stackedNote"
|
||||
:user="user"
|
||||
:repo="repo"
|
||||
:title="titles[stackedNote ?? '']"
|
||||
:title="titles[stackedNote]"
|
||||
/>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user