Fix corner case

This commit is contained in:
Dan Abramov
2024-12-01 20:45:55 +00:00
parent f3ae13407d
commit fc3ddd9713
+3
View File
@@ -224,6 +224,9 @@ export function TabBar({
opacity: 0,
}
}
if (layoutsValue.length === 1) {
return {opacity: 1}
}
return {
opacity: 1,
transform: [