fix(nextjs): Don't put undefined
values in props
#12131
Merged
undefined
values in props
#12131