Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
bofeiw committed Feb 2, 2024
1 parent b5e0960 commit 398808e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/components/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -285,14 +285,7 @@ export default function Table({
const { handler: hotKeysHandler } = useHotKeys([
["mod+C", handleCopy],
["mod+X", handleCut],
[
"mod+V",
(e) => {
console.log("mod+V", e);
e.stopPropagation();
return handlePaste;
},
], // So the event isn't passed to the handler
["mod+V", (e) => handlePaste], // So the event isn't passed to the handler
]);

// Handle prompt to save local column sizes if user `canEditColumns`
Expand Down

0 comments on commit 398808e

Please sign in to comment.