diff --git a/packages/rn-tester/js/examples/Filter/FilterExample.js b/packages/rn-tester/js/examples/Filter/FilterExample.js index d527f2008ba..c97cb5789fa 100644 --- a/packages/rn-tester/js/examples/Filter/FilterExample.js +++ b/packages/rn-tester/js/examples/Filter/FilterExample.js @@ -24,10 +24,6 @@ type Props = $ReadOnly<{ imageSource?: number, }>; -const defaultProps = { - imageSource: hotdog, -}; - function StaticViewAndImage(props: Props): React.Node { return ( <> @@ -47,12 +43,12 @@ function StaticViewAndImage(props: Props): React.Node { @@ -60,7 +56,6 @@ function StaticViewAndImage(props: Props): React.Node { ); } -StaticViewAndImage.defaultProps = defaultProps; function StaticViewAndImageWithState(props: Props): React.Node { const [s, setS] = React.useState(true);