Skip to content

Commit 87ebd28

Browse files
committed
Fix build
1 parent 8bb2b28 commit 87ebd28

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ _elasticdata
2828

2929
out
3030
storybook-static
31-
.next
31+
.next
32+
*.tgz

src/components/result/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export function autoUnwrap(item?: string | { raw: string }) {
1+
export function autoUnwrap(item?: string | { raw?: string }) {
22
if (!item) {
33
return undefined
44
} else if (typeof item === "string") {
@@ -10,7 +10,7 @@ export function autoUnwrap(item?: string | { raw: string }) {
1010
}
1111
}
1212

13-
export function autoUnwrapArray(item?: string[] | { raw: string[] }) {
13+
export function autoUnwrapArray(item?: string[] | { raw?: string[] }) {
1414
if (!item) {
1515
return []
1616
}

0 commit comments

Comments
 (0)