restore flatten where it says it's needed

This commit is contained in:
Samuel Newman
2025-11-03 18:16:18 +02:00
parent bb29e94bb7
commit 8c15c51f89
+2 -2
View File
@@ -256,7 +256,7 @@ export function Item({children, label, onPress, style, ...rest}: ItemProps) {
onFocus={onFocus}
onBlur={onBlur}
// need `flatten` here for Radix compat
style={[
style={flatten([
a.flex_row,
a.align_center,
a.gap_lg,
@@ -272,7 +272,7 @@ export function Item({children, label, onPress, style, ...rest}: ItemProps) {
: t.atoms.bg_contrast_50,
],
style,
]}
])}
{...web({
onMouseEnter,
onMouseLeave,