Skip to content

Commit

Permalink
fix: hover token and useMemo in header story
Browse files Browse the repository at this point in the history
  • Loading branch information
devadula-nandan committed Nov 7, 2024
1 parent 80baa24 commit c87812e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@
}

.#{$block-class}__resizableColumn:hover {
background-color: $background-selected-hover;
background-color: $layer-selected-hover;

.#{$block-class}__resizer {
border-right: $spacing-01 solid $border-strong-01;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export const SelectableRow = () => {

export const Header = () => {
const [data] = useState(makeData(10));
const columns = getColumns(data);
const columns = React.useMemo(() => getColumns(data), []);
const emptyStateTitle = 'Empty state title';
const emptyStateDescription = 'Description explaining why the table is empty';
const datagridState = useDatagrid({
Expand Down

0 comments on commit c87812e

Please sign in to comment.