Add suspense boundary in onboarding (#5556)
This commit is contained in:
@@ -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>
|
||||
)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user