diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-01-02 17:38:13 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-01-02 17:38:13 -0600 |
commit | f6a0e634d78eb97d1d877033bf620ea982038731 (patch) | |
tree | 5d6b7ccbc8f6a587c3910c760bceeefda0c0a291 /src/view/com/profile/ProfileFollowers.tsx | |
parent | 99cec71ed798b29079eb474acd6f7cc799b51a51 (diff) | |
download | voidsky-f6a0e634d78eb97d1d877033bf620ea982038731.tar.zst |
Implement logging system
Diffstat (limited to 'src/view/com/profile/ProfileFollowers.tsx')
-rw-r--r-- | src/view/com/profile/ProfileFollowers.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/profile/ProfileFollowers.tsx b/src/view/com/profile/ProfileFollowers.tsx index 175a582ce..409df05cb 100644 --- a/src/view/com/profile/ProfileFollowers.tsx +++ b/src/view/com/profile/ProfileFollowers.tsx @@ -23,15 +23,15 @@ export const ProfileFollowers = observer(function ProfileFollowers({ useEffect(() => { if (view?.params.user === name) { - console.log('User followers doing nothing') return // no change needed? or trigger refresh? } - console.log('Fetching user followers', name) const newView = new UserFollowersViewModel(store, {user: name}) setView(newView) newView .setup() - .catch(err => console.error('Failed to fetch user followers', err)) + .catch(err => + store.log.error('Failed to fetch user followers', err.toString()), + ) }, [name, view?.params.user, store]) const onRefresh = () => { |