url to image?
How to best transform a URL from db to render an image?
This it failing on my column definition. Do I need to add the transform differently?
1 Reply
xenial-blackOP•3y ago
OK adding this worked
cell: (info) => flexRender(Avatar, { src: info.row.original.avatar, width: 'w-8' })But now all will crash if NO Url is provided. How to handle empty cells?