Skip to content

Commit

Permalink
πŸ› Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
happytaeyoon committed Dec 3, 2024
1 parent 2240ff7 commit 1be2abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/ui/Table/TableItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const TableItem = <T extends { id: number } & Record<string, unknown>>({
};

const isSelected = state === data.id;
type RenderValueType = boolean | string | object;
type RenderValueType = boolean | string | object | unknown;

const renderValue = (value: RenderValueType): string => {
if (typeof value === 'boolean') {
Expand Down

0 comments on commit 1be2abe

Please sign in to comment.