diff --git a/samples/react-native/src/App.tsx b/samples/react-native/src/App.tsx
index 2a22ea85c7..89717b4a5a 100644
--- a/samples/react-native/src/App.tsx
+++ b/samples/react-native/src/App.tsx
@@ -243,6 +243,10 @@ function RunningIndicator() {
return null;
}
+ return ;
+}
+
+function RotatingBox() {
const sv = useSharedValue(0);
React.useEffect(() => {