Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkokari-gtyih committed May 1, 2024
1 parent de1d3d1 commit d4025e0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/frontend/src/pages/welcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@ SPDX-License-Identifier: AGPL-3.0-only
</template>

<script lang="ts" setup>
import { computed } from 'vue';
import { computed, ref } from 'vue';
import * as Misskey from 'misskey-js';
import XSetup from './welcome.setup.vue';
import XEntrance from './welcome.entrance.a.vue';
import { instanceName } from '@/config.js';
import { definePageMetadata } from '@/scripts/page-metadata.js';
import { fetchInstance } from '@/instance.js';
const instance = await fetchInstance(true);
const instance = ref<Misskey.entities.MetaDetailed | null>(null);
fetchInstance(true).then((res) => {
instance.value = res;
});
const headerActions = computed(() => []);
Expand Down

0 comments on commit d4025e0

Please sign in to comment.