Add suspense boundary in onboarding
This commit is contained in:
@@ -46,6 +46,7 @@ export const PlaceholderCanvas = React.forwardRef<PlaceholderCanvasRef, {}>(
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={styles.container}>
|
<View style={styles.container}>
|
||||||
|
<React.Suspense fallback={null}>
|
||||||
<LazyViewShot
|
<LazyViewShot
|
||||||
// @ts-ignore this library doesn't have types
|
// @ts-ignore this library doesn't have types
|
||||||
ref={viewshotRef}
|
ref={viewshotRef}
|
||||||
@@ -69,6 +70,7 @@ export const PlaceholderCanvas = React.forwardRef<PlaceholderCanvasRef, {}>(
|
|||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
</LazyViewShot>
|
</LazyViewShot>
|
||||||
|
</React.Suspense>
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user