From 2193e59737bccaf0e60c3f1b31ca49b952aa890f Mon Sep 17 00:00:00 2001 From: Tomek Zawadzki Date: Mon, 31 Aug 2026 13:45:17 +0200 Subject: [PATCH] Fix typecheck: coalesce null from StyleSheet.flatten before passing to NanoIcon Co-Authored-By: Claude Fable 5 --- src/components/icons/nano.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/icons/nano.tsx b/src/components/icons/nano.tsx index 0538fee53a..88db82cdf1 100644 --- a/src/components/icons/nano.tsx +++ b/src/components/icons/nano.tsx @@ -46,7 +46,7 @@ export function createNanoIcon(name: IconName) { name={name} size={resolvedSize} color={color} - style={flattened} + style={flattened ?? undefined} testID={testID} /* * The SVG icons these replace are sized in raw points and never scaled