diff options
author | Eric Bailey <git@esb.lol> | 2023-11-04 14:00:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 14:00:38 -0500 |
commit | 95b5e642dcca7b6fbf60cb1b86a94ba9d40415e1 (patch) | |
tree | 704c8dc022b0536951e4cb49b0006991253c3903 /src/view/screens/PostThread.tsx | |
parent | e49a3d8a564b2aa42a8c0e66dfcbae27d096dc26 (diff) | |
parent | f6fe980a6457bc7394427b569b2e5b05ce5278f6 (diff) | |
download | voidsky-95b5e642dcca7b6fbf60cb1b86a94ba9d40415e1.tar.zst |
Merge pull request #1814 from bluesky-social/eric/replace-logger
Remove old logger
Diffstat (limited to 'src/view/screens/PostThread.tsx')
-rw-r--r-- | src/view/screens/PostThread.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/view/screens/PostThread.tsx b/src/view/screens/PostThread.tsx index 5f15adcc5..8bb279be8 100644 --- a/src/view/screens/PostThread.tsx +++ b/src/view/screens/PostThread.tsx @@ -14,6 +14,7 @@ import {s} from 'lib/styles' import {useSafeAreaInsets} from 'react-native-safe-area-context' import {clamp} from 'lodash' import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries' +import {logger} from '#/logger' const SHELL_FOOTER_HEIGHT = 44 @@ -38,7 +39,7 @@ export const PostThreadScreen = withAuthRequired( InteractionManager.runAfterInteractions(() => { if (!view.hasLoaded && !view.isLoading) { view.setup().catch(err => { - store.log.error('Failed to fetch thread', {error: err}) + logger.error('Failed to fetch thread', {error: err}) }) } }) |