Skip to content

Commit 9d5a41c

Browse files
committed
[fix] Don't stringify application params
Close #1365
1 parent 11d00ff commit 9d5a41c

File tree

1 file changed

+4
-3
lines changed
  • packages/react-native-web/src/exports/AppRegistry

1 file changed

+4
-3
lines changed

packages/react-native-web/src/exports/AppRegistry/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,10 @@ export default class AppRegistry {
9696
params.rootTag = `#${params.rootTag.id}`;
9797

9898
console.log(
99-
`Running application "${appKey}" with appParams: ${JSON.stringify(params)}.\n` +
100-
`Development-level warnings: ${isDevelopment ? 'ON' : 'OFF'}.\n` +
101-
`Performance optimizations: ${isDevelopment ? 'OFF' : 'ON'}.`
99+
`Running application "${appKey}" with appParams:\n`,
100+
params,
101+
`\nDevelopment-level warnings: ${isDevelopment ? 'ON' : 'OFF'}.` +
102+
`\nPerformance optimizations: ${isDevelopment ? 'OFF' : 'ON'}.`
102103
);
103104
}
104105

0 commit comments

Comments
 (0)