client: remove unnecessary ref

This commit is contained in:
Johann150 2022-11-08 19:41:45 +01:00
parent 609312bb82
commit 5713f329ca
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -7,14 +7,14 @@
</template>
<script lang="ts" setup>
import { defineAsyncComponent, ref } from 'vue';
import { defineAsyncComponent } from 'vue';
import FormLink from '@/components/form/link.vue';
import FormButton from '@/components/ui/button.vue';
import * as os from '@/os';
import { i18n } from '@/i18n';
import { definePageMetadata } from '@/scripts/page-metadata';
const isDesktop = ref(window.innerWidth >= 1100);
const isDesktop = window.innerWidth >= 1100;
function generateToken() {
os.popup(defineAsyncComponent(() => import('@/components/token-generate-window.vue')), {}, {