Skip to content

Commit d61d757

Browse files
committed
Log version table on startup
1 parent 13bedd6 commit d61d757

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

app/setup.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,18 @@ if (config.editor) {
77
if (config.fontFamily) {
88
const styleEl = document.createElement('style');
99
document.head.appendChild(styleEl);
10-
styleEl.sheet.insertRule(`div *, span * { font-family: ${config.fontFamily} !important; }`, 0);
10+
styleEl.sheet.insertRule(
11+
`div *, span * { font-family: ${config.fontFamily} !important; }`,
12+
0,
13+
);
1114
}
15+
16+
console.warn(
17+
'[RNDebugger] Welcome! Before use this app, ' +
18+
'you need to ensure you are using the correct version of ' +
19+
'React Native Debugger and react-native:',
20+
);
21+
console.table({
22+
'React Native <= 0.61': { 'React Native Debugger Version': 'v0.10' },
23+
'React Native >= 0.62': { 'React Native Debugger Version': 'v0.11' },
24+
});

0 commit comments

Comments
 (0)