Skip to content

Commit 4b7273c

Browse files
committed
Fix tests
1 parent 79735c3 commit 4b7273c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/zod-error-viewer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zod-error-viewer",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"license": "MIT",
55
"author": {
66
"name": "Ben Lorantfy",

packages/zod-error-viewer/src/ZodErrorViewer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,12 +620,12 @@ function Line({
620620
<span style={{ color: theme.string }}>
621621
{`"`}
622622
{value.split("\n").map((line, idx, arr) => (
623-
<span>
623+
<>
624624
{line}
625625
{idx !== arr.length - 1 && (
626626
<span style={{ color: theme.newline }}>{"↵"}</span>
627627
)}
628-
</span>
628+
</>
629629
))}
630630
{`"`}
631631
</span>

0 commit comments

Comments
 (0)