Skip to content

Commit 8278103

Browse files
authored
react native typos (#14210)
1 parent cbdb700 commit 8278103

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contents/docs/error-tracking/installation/react-native.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ These features will be added in future releases.
5555

5656
<CalloutBox icon="IconInfo" title="Hermes engine" type="fyi">
5757

58-
React Native error tracking is supported supported for Android and iOS apps compiled with the [Hermes engine](https://reactnative.dev/docs/hermes) enabled.
58+
React Native error tracking is supported for Android and iOS apps compiled with the [Hermes engine](https://reactnative.dev/docs/hermes) enabled.
5959

6060
</CalloutBox>
6161

contents/docs/integrate/_snippets/install-react-native.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ Then you can access PostHog by importing your instance:
7676
import { posthog } from './posthog'
7777
7878
export function MyApp1() {
79-
useEffect(async () => {
79+
useEffect(() => {
8080
posthog.capture('event_name')
81-
}, [posthog])
81+
}, [])
8282
8383
return <View>Your app code</View>
8484
}

0 commit comments

Comments
 (0)