Skip to content

Commit 04ae6fc

Browse files
authored
Fix a couple lint issues (#3432)
1 parent e396ea8 commit 04ae6fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/demos/ColumnsReordering.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ export default function ColumnsReordering({ direction }: Props) {
102102
setColumnsOrder((columnsOrder) => {
103103
const sourceColumnOrderIndex = columnsOrder.findIndex(
104104
(index) => columns[index].key === sourceKey
105-
)!;
105+
);
106106
const targetColumnOrderIndex = columnsOrder.findIndex(
107107
(index) => columns[index].key === targetKey
108-
)!;
108+
);
109109
const sourceColumnOrder = columnsOrder[sourceColumnOrderIndex];
110110
const newColumnsOrder = columnsOrder.toSpliced(sourceColumnOrderIndex, 1);
111111
newColumnsOrder.splice(targetColumnOrderIndex, 0, sourceColumnOrder);

0 commit comments

Comments
 (0)