Merge branch 'bluesky-social:main' into patch-3

This commit is contained in:
Minseo Lee
2024-03-02 13:04:51 +09:00
committed by GitHub
43 changed files with 1299 additions and 527 deletions
+3 -3
View File
@@ -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