mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
fix: 🐛 Various bugfixes
This commit is contained in:
parent
52c1f1c57f
commit
6d2b607f2b
10 changed files with 76 additions and 111 deletions
|
|
@ -9,7 +9,7 @@
|
|||
<script lang="ts" setup>
|
||||
import type { ButtonHTMLAttributes } from "vue";
|
||||
|
||||
interface Props extends /* @vue-ignore */ ButtonHTMLAttributes { }
|
||||
interface Props extends /* @vue-ignore */ ButtonHTMLAttributes {}
|
||||
|
||||
defineProps<
|
||||
Props & {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<script lang="ts" setup>
|
||||
import type { ButtonHTMLAttributes } from "vue";
|
||||
|
||||
interface Props extends /* @vue-ignore */ ButtonHTMLAttributes { }
|
||||
interface Props extends /* @vue-ignore */ ButtonHTMLAttributes {}
|
||||
|
||||
defineProps<
|
||||
Props & {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@
|
|||
<script lang="ts" setup>
|
||||
const loading = ref(true);
|
||||
|
||||
const estimatedProgress = (duration: number, elapsed: number) => (2 / Math.PI * 100) * Math.atan(elapsed / duration * 100 / 50);
|
||||
const estimatedProgress = (duration: number, elapsed: number) =>
|
||||
(2 / Math.PI) * 100 * Math.atan(((elapsed / duration) * 100) / 50);
|
||||
|
||||
const progress = ref(0);
|
||||
const timeAtStart = performance.now();
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ const signOut = async () => {
|
|||
tokenData.value.access_token,
|
||||
tokenData.value.access_token,
|
||||
)
|
||||
.catch(() => { });
|
||||
.catch(() => {});
|
||||
|
||||
tokenData.value = null;
|
||||
me.value = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue