1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Draft basic done

#6
This commit is contained in:
Zhiyuan Zheng
2021-02-07 00:39:11 +01:00
parent 700b9ad433
commit 03dc94c7c9
32 changed files with 684 additions and 170 deletions

View File

@ -3,7 +3,7 @@ import NetInfo from '@react-native-community/netinfo'
import { store } from '@root/store'
import {
localRemoveInstance,
localUpdateAccount
updateLocalAccount
} from '@utils/slices/instancesSlice'
import log from './log'
@ -35,7 +35,7 @@ const netInfo = async (): Promise<{
return Promise.resolve({ connected: true, corruputed: '' })
} else {
store.dispatch(
localUpdateAccount({
updateLocalAccount({
acct: res.acct,
avatarStatic: res.avatar_static
})