diff --git a/packages/webpack-plugin/lib/runtime/components/react/mpx-view.tsx b/packages/webpack-plugin/lib/runtime/components/react/mpx-view.tsx index 8e9d236b4..6e4f7ad53 100644 --- a/packages/webpack-plugin/lib/runtime/components/react/mpx-view.tsx +++ b/packages/webpack-plugin/lib/runtime/components/react/mpx-view.tsx @@ -600,7 +600,7 @@ function wrapImage (imageStyle?: ExtendedViewStyle) { } } - return + return {show && type === 'linear' && } {show && type === 'image' && }