From edce3bb6b8fb7e16802581bf50416a9cda37c635 Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Thu, 31 Aug 2023 09:14:04 +0000 Subject: [PATCH] fix: body is not used if `ListItem` is not a link --- app/soapbox/components/list.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/soapbox/components/list.tsx b/app/soapbox/components/list.tsx index 6df1bac9fb..06a2025359 100644 --- a/app/soapbox/components/list.tsx +++ b/app/soapbox/components/list.tsx @@ -121,7 +121,9 @@ const ListItem: React.FC = ({ label, hint, children, to, onClick, onS + > + {body} + ); };