From 0e730cf7622bdf913e5223e2097d6f7874565323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sat, 17 Dec 2022 14:33:40 +0100 Subject: [PATCH] Groups: add key to group links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/features/groups/index.tsx | 6 +++--- app/soapbox/features/ui/components/link-footer.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/soapbox/features/groups/index.tsx b/app/soapbox/features/groups/index.tsx index c29ac39d4..ce84d1c1e 100644 --- a/app/soapbox/features/groups/index.tsx +++ b/app/soapbox/features/groups/index.tsx @@ -70,13 +70,13 @@ const Groups: React.FC = () => { scrollKey='groups' emptyMessage={emptyMessage} itemClassName='py-3 last:pb-0' - isLoading - showLoading + isLoading={isLoading} + showLoading={isLoading && !groups.count()} placeholderComponent={PlaceholderGroupCard} placeholderCount={3} > {groups.map((group) => ( - + ))} diff --git a/app/soapbox/features/ui/components/link-footer.tsx b/app/soapbox/features/ui/components/link-footer.tsx index bc1c67fd3..c676c1be5 100644 --- a/app/soapbox/features/ui/components/link-footer.tsx +++ b/app/soapbox/features/ui/components/link-footer.tsx @@ -76,7 +76,7 @@ const LinkFooter: React.FC = (): JSX.Element => { defaultMessage='{code_name} is open source software. You can contribute or report issues at {code_link} (v{code_version}).' values={{ code_name: sourceCode.displayName, - code_link: {sourceCode.repository}, + code_link: {sourceCode.repository}, code_version: sourceCode.version, }} />