Unverified Commit 5950e2b3 authored by Alex Kirszenberg's avatar Alex Kirszenberg Committed by GitHub

Small fixes to copy of Turbopack errors (#47734)

This also removes next-swc's Prettier configuration, which we weren't
following anyway.
parent 65631741
...@@ -190,9 +190,7 @@ const TABS: TabConfig[] = [ ...@@ -190,9 +190,7 @@ const TABS: TabConfig[] = [
many: 'Runtime Errors', many: 'Runtime Errors',
short: 'Err', short: 'Err',
}, },
message: ( message: <>Unhandled errors reported when running the application.</>,
<>Unhandled errors that happened during execution of application code.</>
),
items: ({ readyErrors }) => { items: ({ readyErrors }) => {
return readyErrors.filter((e) => !isRuntimeWarning(e)) return readyErrors.filter((e) => !isRuntimeWarning(e))
}, },
...@@ -210,7 +208,7 @@ const TABS: TabConfig[] = [ ...@@ -210,7 +208,7 @@ const TABS: TabConfig[] = [
}, },
message: ( message: (
<> <>
Error that happened during compilation of applications code. Errors reported when compiling the application.
<br /> <br />
The application might work partially, but that's unlikely. The application might work partially, but that's unlikely.
</> </>
...@@ -232,7 +230,7 @@ const TABS: TabConfig[] = [ ...@@ -232,7 +230,7 @@ const TABS: TabConfig[] = [
}, },
message: ( message: (
<> <>
Unhandled errors that happened during execution of application code. Unhandled errors reported when running the application.
<br /> <br />
The application might work partially, but that's unlikely. The application might work partially, but that's unlikely.
</> </>
...@@ -254,10 +252,10 @@ const TABS: TabConfig[] = [ ...@@ -254,10 +252,10 @@ const TABS: TabConfig[] = [
}, },
message: ( message: (
<> <>
Warnings that were found during compilation of applications code. Warnings reported when compiling the application.
<br /> <br />
The application probably work, but these issues should still be The application will probably work regardless, but these issues should
addressed eventually. be addressed eventually.
</> </>
), ),
items: ({ issues }) => { items: ({ issues }) => {
...@@ -277,8 +275,7 @@ const TABS: TabConfig[] = [ ...@@ -277,8 +275,7 @@ const TABS: TabConfig[] = [
}, },
message: ( message: (
<> <>
Errors or warnings that happened during compilation of non-application Errors or warnings reported while compiling external code.
code.
<br /> <br />
The application might be affected by them. The application might be affected by them.
</> </>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment