fix remainder of inefficient imports
This commit is contained in:
parent
a724458fcc
commit
c5445096e8
2 changed files with 6 additions and 6 deletions
|
|
@ -11,6 +11,7 @@ import PublicTimeline from 'src/components/public_timeline/public_timeline.vue'
|
|||
import QuotesTimeline from 'src/components/quotes_timeline/quotes_timeline.vue'
|
||||
import RemoteUserResolver from 'src/components/remote_user_resolver/remote_user_resolver.vue'
|
||||
import TagTimeline from 'src/components/tag_timeline/tag_timeline.vue'
|
||||
import AuthForm from 'src/components/auth_form/auth_form.js'
|
||||
|
||||
import { useInstanceStore } from 'src/stores/instance.js'
|
||||
import { useInstanceCapabilitiesStore } from 'src/stores/instance_capabilities.js'
|
||||
|
|
@ -147,9 +148,7 @@ export default (store) => {
|
|||
{
|
||||
name: 'login',
|
||||
path: '/login',
|
||||
component: defineAsyncComponent(
|
||||
() => import('src/components/auth_form/auth_form.js'),
|
||||
),
|
||||
component: AuthForm,
|
||||
},
|
||||
{
|
||||
name: 'shout-panel',
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
import { mapActions, mapState } from 'pinia'
|
||||
|
||||
import ErrorModal from 'src/components/error_modal/error_modal.vue'
|
||||
import { defineAsyncComponent } from 'vue'
|
||||
|
||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||
|
||||
const GlobalError = {
|
||||
components: {
|
||||
ErrorModal,
|
||||
ErrorModal: defineAsyncComponent(
|
||||
() => import('src/components/error_modal/error_modal.vue')
|
||||
),
|
||||
},
|
||||
computed: {
|
||||
title() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue