Skip to content

Commit 61b0314

Browse files
authored
Apply suggestions from code review
1 parent 286c21a commit 61b0314

File tree

1 file changed

+2
-2
lines changed
  • src/connections/sources/catalog/libraries/mobile/react-native

1 file changed

+2
-2
lines changed

src/connections/sources/catalog/libraries/mobile/react-native/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -727,8 +727,8 @@ The React Native 2.0 library is compliant with Google Play Store policies. Howev
727727
### Can I set inlineRequires to false in my metro.config.js file?
728728
Segment requires the `inlineRequires` value in your `metro.config.js` value to be set to `true`. To disable `inlineRequires` for certain modules, you can specify this by using a [blockList](https://facebook.github.io/metro/docs/configuration/#:~:text=If%20inlineRequires%20is%20an%20object){:target="_blank"}.
729729
730-
### Can I clear user triats without calling the reset() method?
731-
The set method on userInfo can accept a function that receives the current state and returns a modified desired state. Using this method, you can return the currnet traits, delete any traits you no longer wish to track, and persit the new trait set.
730+
### Can I clear user traits without calling the reset() method?
731+
The set method on userInfo can accept a function that receives the current state and returns a modified desired state. Using this method, you can return the current traits, delete any traits you no longer wish to track, and persist the new trait set.
732732
733733
```js
734734
segmentClient.userInfo.set((currentUserInfo) => {

0 commit comments

Comments
 (0)