Merge branch 'main' of github.com:bluesky-social/social-app into main
commit
97ce9a73d2
|
@ -467,6 +467,12 @@ function RoutesContainer({children}: React.PropsWithChildren<{}>) {
|
||||||
theme={theme}
|
theme={theme}
|
||||||
onReady={() => {
|
onReady={() => {
|
||||||
SplashScreen.hideAsync()
|
SplashScreen.hideAsync()
|
||||||
|
const initMs = Math.round(
|
||||||
|
// @ts-ignore Emitted by Metro in the bundle prelude
|
||||||
|
performance.now() - global.__BUNDLE_START_TIME__,
|
||||||
|
)
|
||||||
|
console.log(`Time to first paint: ${initMs} ms`)
|
||||||
|
|
||||||
// Register the navigation container with the Sentry instrumentation (only works on native)
|
// Register the navigation container with the Sentry instrumentation (only works on native)
|
||||||
if (isNative) {
|
if (isNative) {
|
||||||
const routingInstrumentation = getRoutingInstrumentation()
|
const routingInstrumentation = getRoutingInstrumentation()
|
||||||
|
|
Loading…
Reference in New Issue