Skip to content

Commit e0b2e13

Browse files
fix: getSentryExpoConfig should receive __driname not config
1 parent 6355dae commit e0b2e13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/platforms/react-native/integrations/component-names.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = withSentryConfig(config, { annotateReactComponents: true });
4343
const { getSentryExpoConfig } = require("@sentry/react-native/metro");
4444

4545
// const config = getDefaultConfig(__dirname);
46-
const config = getSentryExpoConfig(config, { annotateReactComponents: true });
46+
const config = getSentryExpoConfig(__dirname, { annotateReactComponents: true });
4747
```
4848

4949
## How It Works

0 commit comments

Comments
 (0)