Skip to content

Commit 5426807

Browse files
committed
remove null values
1 parent 75986ab commit 5426807

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/cloud/components/Props/PropPicker.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ const PropPicker = ({
9090
updateProp(
9191
val.length === 0
9292
? { type: 'user', data: null }
93-
: { type: 'user', data: val as any }
93+
: {
94+
type: 'user',
95+
data: val.filter((userId) => userId != null) as any,
96+
}
9497
)
9598
}
9699
/>

0 commit comments

Comments
 (0)