From 845e14869b8338448cda22b560faca243b5959aa Mon Sep 17 00:00:00 2001 From: kmmiio99o Date: Fri, 2 Jan 2026 14:44:56 +0100 Subject: [PATCH] fix: errors on community cards --- src/core/ui/settings/pages/General/index.tsx | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/core/ui/settings/pages/General/index.tsx b/src/core/ui/settings/pages/General/index.tsx index 8a5bef0..d851d39 100644 --- a/src/core/ui/settings/pages/General/index.tsx +++ b/src/core/ui/settings/pages/General/index.tsx @@ -32,7 +32,19 @@ export default function General() { const navigation = NavigationNative.useNavigation(); // Custom Community Card Button - const CommunityCardButton = ({ icon, label, subLabel, color, onPress }) => ( + const CommunityCardButton = ({ + icon, + label, + subLabel, + color, + onPress, + }: { + icon?: number | { uri: string }; + label: string; + subLabel?: string | null; + color?: string; + onPress?: () => void; + }) => ( } + icon={} trailing={} />