Merge branch 'bluesky-social:main' into patch-3
This commit is contained in:
@@ -200,10 +200,10 @@ function ComposeBtn() {
|
||||
const fetchHandle = useFetchHandle()
|
||||
|
||||
const getProfileHandle = async () => {
|
||||
const {routes} = getState()
|
||||
const currentRoute = routes[routes.length - 1]
|
||||
const routes = getState()?.routes
|
||||
const currentRoute = routes?.[routes?.length - 1]
|
||||
|
||||
if (currentRoute.name === 'Profile') {
|
||||
if (currentRoute?.name === 'Profile') {
|
||||
let handle: string | undefined = (
|
||||
currentRoute.params as CommonNavigatorParams['Profile']
|
||||
).name
|
||||
|
||||
Reference in New Issue
Block a user