Commit 2d344fca authored by Janka Uryga's avatar Janka Uryga

update styled-jsx snapshot

parent 9b10f98f
...@@ -68,7 +68,7 @@ describe('Error Overlay invalid imports', () => { ...@@ -68,7 +68,7 @@ describe('Error Overlay invalid imports', () => {
expect(await session.getRedboxSource()).toMatchInlineSnapshot(` expect(await session.getRedboxSource()).toMatchInlineSnapshot(`
"./app "./app
Invalid import Invalid import
'client-only' cannot be imported from a Server Component module. It should only be used from a Client Component. 'styled-jsx' cannot be imported from a Server Component module. It should only be used from a Client Component.
The error was caused by using 'styled-jsx'. It only works in a Client Component but none of its parents are marked with "use client", so they're Server Components by default." The error was caused by using 'styled-jsx'. It only works in a Client Component but none of its parents are marked with "use client", so they're Server Components by default."
`) `)
} else { } else {
......
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