fix: adds cursor pointer to table column header (#1715)
* fix: adds cursro pointer to table column header * fix: lifts up the onclick handler to header not tag making consistent with other tables
This commit is contained in:
@ -97,8 +97,8 @@ export const BoardColumn = ({
|
||||
|
||||
return (
|
||||
<StyledColumn isFirstColumn={isFirstColumn}>
|
||||
<StyledHeader>
|
||||
<Tag onClick={handleTitleClick} color={color ?? 'gray'} text={title} />
|
||||
<StyledHeader onClick={handleTitleClick}>
|
||||
<Tag color={color ?? 'gray'} text={title} />
|
||||
{!!totalAmount && <StyledAmount>${totalAmount}</StyledAmount>}
|
||||
<StyledNumChildren>{numChildren}</StyledNumChildren>
|
||||
</StyledHeader>
|
||||
|
||||
Reference in New Issue
Block a user