Skip to content

Commit 9620ee7

Browse files
committed
fix: add default type for Filter Chips generic
1 parent 09aed0a commit 9620ee7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "0.0.83-beta-3",
3+
"version": "0.0.83-beta-4",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/Components/FilterChips/FilterChips.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const FilterChip = ({
4040
/**
4141
* Component for rendering the applied filter chips
4242
*/
43-
const FilterChips = <T,>({
43+
const FilterChips = <T = Record<string, unknown>,>({
4444
filterConfig,
4545
clearFilters,
4646
onRemoveFilter,

0 commit comments

Comments
 (0)