Skip to content

Commit fdd8123

Browse files
committed
Fix format
1 parent 74ef9b5 commit fdd8123

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

packages/react-native/Libraries/LogBox/UI/LogBoxInspectorHeader.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export default function LogBoxInspectorHeader(props: Props): React.Node {
3737
<View style={styles.header}>
3838
<View style={styles.title}>
3939
<Text
40-
id="logbox_header_title_text"
41-
maxFontSizeMultiplier={1.5}
42-
style={styles.titleText}>
40+
id="logbox_header_title_text"
41+
maxFontSizeMultiplier={1.5}
42+
style={styles.titleText}>
4343
Failed to compile
4444
</Text>
4545
</View>

packages/react-native/Libraries/LogBox/UI/LogBoxMessage.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,7 @@ component TappableLinks(content: string, style: void | TextStyleProp) {
8686
if (startIndex < content.length) {
8787
const text = content.substring(startIndex);
8888
fragments.push(
89-
<Text
90-
key={++indexCounter}
91-
maxFontSizeMultiplier={1.5}
92-
style={style}>
89+
<Text key={++indexCounter} maxFontSizeMultiplier={1.5} style={style}>
9390
{text}
9491
</Text>,
9592
);
@@ -114,9 +111,7 @@ component LogBoxMessage(
114111
const {content, substitutions}: Message = message;
115112

116113
if (plaintext === true) {
117-
return (
118-
<Text maxFontSizeMultiplier={1}>{cleanContent(content)}</Text>
119-
);
114+
return <Text maxFontSizeMultiplier={1}>{cleanContent(content)}</Text>;
120115
}
121116

122117
const resolvedMaxLength = maxLength != null ? maxLength : Infinity;

0 commit comments

Comments
 (0)