Skip to content

Commit cfcac85

Browse files
authored
docs: fix rspress compiler error (#119)
1 parent eb23b01 commit cfcac85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/docs/guides/usage-with-react-navigation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ This event is fired when the user presses the tab button for the current screen
184184

185185
To prevent the default behavior, you can call `event.preventDefault`:
186186

187-
```tsx`
187+
```tsx
188188
React.useEffect(() => {
189189
const unsubscribe = navigation.addListener('tabPress', (e) => {
190190
// Prevent default behavior

0 commit comments

Comments
 (0)