Skip to content

Commit

Permalink
add style
Browse files Browse the repository at this point in the history
  • Loading branch information
zuies committed Jun 29, 2023
1 parent 15e2721 commit 9d407c3
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,13 @@ export default function ActiveMemberBreakdown() {
{!isExpanded && (
<div className="absolute inset-0 bg-gradient-to-b from-transparent to-gray-50 opacity-20 pointer-events-none"></div>
)}
<div className={clsx(!isExpanded ? 'pointer-events-none' : '')}>
<div
className={clsx(
!isExpanded && fetchedData?.results.length > 0
? 'pointer-events-none'
: ''
)}
>
<CustomTable
data={fetchedData?.results ? fetchedData.results : []}
columns={columns}
Expand Down

0 comments on commit 9d407c3

Please sign in to comment.