Commit 9b10f98f authored by Janka Uryga's avatar Janka Uryga

[turbopack] fix styled-jsx import message

parent 7c6ac5fd
......@@ -192,7 +192,7 @@ pub(crate) fn get_invalid_styled_jsx_resolve_plugin(
root,
"styled-jsx".into(),
vec![
"'client-only' cannot be imported from a Server Component module. It should only be \
"'styled-jsx' cannot be imported from a Server Component module. It should only be \
used from a Client Component."
.into(),
"The error was caused by using 'styled-jsx'. It only works in a Client Component but \
......
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