Skip to content

Commit 58c0051

Browse files
committed
Clean
1 parent 16a5c3e commit 58c0051

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

web/components/about-settings.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function diagnosticsToText(d: Diagnostics): string {
113113
}
114114

115115
return JSON.stringify(d, replacer, 2)
116-
.replace(/ "/g, '')
116+
.replace(/ {2}"/g, '')
117117
.replace(/["{}\[\]]/g, '')
118118
.replace(/^[ \t]*\n/gm, '')
119119
.replace(/,\n/g, '\n')
@@ -146,9 +146,6 @@ const LoadedAboutSettings = (props: {
146146
}, 2000)
147147
}
148148

149-
console.log(JSON.stringify(diagnostics, null, 2))
150-
console.log(diagnosticsToText(diagnostics))
151-
152149
return <Col className={''}>
153150
<RuntimeInfo info={diagnostics.runtime}/>
154151
<WebBuildInfo info={diagnostics.web}/>

0 commit comments

Comments
 (0)