Skip to content

Commit b8b1d30

Browse files
committed
fix: satisfy lint error about hook deps in ResponsiveDataTable
Signed-off-by: Antonette Caldwell <134739862+nebula-aac@users.noreply.github.com>
1 parent a8a5917 commit b8b1d30

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ The Sistent Design System from Layer5 provides the open source building blocks t
66

77
Design System components in React, usually built with Vite.
88

9-
List of npm packages:
10-
11-
- `@layer5/sistent-components`
12-
- `@layer5/sistent-svg`
13-
149
### Brand
1510

1611
- Layer5 Brand Guide ([PDF](https://layer5.io/brand/brand-guide.pdf))
@@ -29,10 +24,7 @@ Before you begin, ensure you have the following installed on your system:
2924

3025
### How to get started
3126

32-
Use `corepack enable` to go ahead and install yarn.
33-
34-
1. Install `yarn@3.6.3`
35-
2. Use `yarn` to install dependencies from the root of this project.
27+
Make sure you have `npm` on `node@16` and above. The CI workflows checks for in `node@16`, `node@18` and `node@20`
3628

3729
<div>&nbsp;</div>
3830

src/custom/ResponsiveDataTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const ResponsiveDataTable = ({
114114
}
115115
});
116116
updateCols && updateCols([...columns]);
117-
}, [columnVisibility]);
117+
}, [columnVisibility, columns, updateCols]);
118118

119119
const components = {
120120
ExpandButton: () => ''

0 commit comments

Comments
 (0)