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 0fc86d8 commit b6e73c6
Showing 1 changed file with 2 additions and 5 deletions.
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 b6e73c6

Please sign in to comment.