fix: change to url error

This commit is contained in:
ascarbek 2023-04-09 21:15:29 +06:00
parent 2d85afe168
commit 43cafdd524

View File

@ -17,8 +17,8 @@ export const BoardUrlCell = ({
return (
<>
<a className={'text-main-accent hover:underline'} href={(data as URLCellDataPB).url || ''} target={'_blank'}>
{(data as URLCellDataPB).content || ''}
<a className={'text-main-accent hover:underline'} href={(data as URLCellDataPB)?.url || ''} target={'_blank'}>
{(data as URLCellDataPB)?.content || ''}
</a>
</>
);