Skip to content

Commit

Permalink
fix: array/variable confusion
Browse files Browse the repository at this point in the history
fix #14
  • Loading branch information
gnlow committed Dec 30, 2023
1 parent ae361b8 commit c79f7b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ export class Entry {
({id, value, array}) => {
return [
id,
array?.map(({data}) => data) || value,
array?.length
? array?.map(({data}) => data)
: value,
]
}
)
Expand Down

0 comments on commit c79f7b7

Please sign in to comment.