From cc185fb6cfea8ca3b217775b5c5baaff41645351 Mon Sep 17 00:00:00 2001 From: keven1024 Date: Thu, 15 May 2025 21:58:47 +0800 Subject: [PATCH] refactor(front): simplify Skeleton loading state in [id].vue for improved readability --- front/pages/s/[id].vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/front/pages/s/[id].vue b/front/pages/s/[id].vue index 013c294..bb3dae3 100644 --- a/front/pages/s/[id].vue +++ b/front/pages/s/[id].vue @@ -2,8 +2,6 @@ import { LucideAlertCircle } from 'lucide-vue-next' import { Button } from '@/components/ui/button' import { Skeleton } from '@/components/ui/skeleton' -import { cx } from 'class-variance-authority' -import { times } from 'lodash-es' import dayjs from 'dayjs' import FileShareView from '@/components/Share/FileShareView.vue' import TextShareView from '@/components/Share/TextShareView.vue' @@ -33,7 +31,13 @@ const isExpired = computed(() => {