Add suspense boundary in onboarding (#5556)

This commit is contained in:
Eric Bailey
2024-10-02 10:55:06 -05:00
committed by GitHub
parent 3569873123
commit 1a7885b921
@@ -46,6 +46,7 @@ export const PlaceholderCanvas = React.forwardRef<PlaceholderCanvasRef, {}>(
return (
<View style={styles.container}>
<React.Suspense fallback={null}>
<LazyViewShot
// @ts-ignore this library doesn't have types
ref={viewshotRef}
@@ -69,6 +70,7 @@ export const PlaceholderCanvas = React.forwardRef<PlaceholderCanvasRef, {}>(
/>
</View>
</LazyViewShot>
</React.Suspense>
</View>
)
},