Bluesky app fork with some witchin' additions 💫

add even more optional chaining to link thing (#9327)

authored by samuel.fm and committed by

GitHub fd5b1b3a c9033dbc

+1 -1
+1 -1
src/components/Link.tsx
··· 166 166 const state = navigation.getState() 167 167 // if screen is not in the current navigator, it means it's 168 168 // most likely a tab screen. note: state can be undefined 169 - if (!state?.routeNames.includes(screen)) { 169 + if (!state?.routeNames?.includes?.(screen)) { 170 170 const parent = navigation.getParent() 171 171 if ( 172 172 parent &&