From 882a7716d7e06624fff189bdcdb0cb846b756aa5 Mon Sep 17 00:00:00 2001 From: Pouria Delfanazari Date: Fri, 3 Oct 2025 16:12:27 -0700 Subject: [PATCH] refactor: move suspense up to card actions --- .../features/cards/components/urlCard/UrlCard.tsx | 12 +++++++++++- .../components/urlCardActions/UrlCardActions.tsx | 2 +- src/webapp/next-env.d.ts | 1 + 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/webapp/features/cards/components/urlCard/UrlCard.tsx b/src/webapp/features/cards/components/urlCard/UrlCard.tsx index 20eca60e..b067390c 100644 --- a/src/webapp/features/cards/components/urlCard/UrlCard.tsx +++ b/src/webapp/features/cards/components/urlCard/UrlCard.tsx @@ -8,6 +8,7 @@ import { Group, Anchor, AspectRatio, + Skeleton, } from '@mantine/core'; import Link from 'next/link'; import UrlCardActions from '../urlCardActions/UrlCardActions'; @@ -69,7 +70,16 @@ export default function UrlCard(props: Props) { )} - + + + + + + + } + > /// +/// // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. -- 2.51.2