Skip to content

Commit

Permalink
fix: review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chelentos committed Jul 22, 2024
1 parent 3be6193 commit 6272ea3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/__stories__/StickyHeaderDemo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

th {
background: var(--g-color-base-generic-medium);
background: var(--g-color-line-generic-solid);

border-block-end: 0;

Expand Down
7 changes: 2 additions & 5 deletions src/components/__stories__/StickyHeaderDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ import {Table} from '../Table';

import {cnStickyHeaderDemo} from './StickyHeaderDemo.classname';
import {columns} from './constants/columns';
import {data as originData} from './constants/data';
import {generateData} from './utils';

import './StickyHeaderDemo.scss';

const data = Array(5)
.fill(originData)
.flat()
.map((val, index) => ({...val, id: `${val.id}-${index}`}));
const data = generateData(30);

export const StickyHeaderDemo = () => {
const table = useTable({
Expand Down

0 comments on commit 6272ea3

Please sign in to comment.