Skip to content

Commit 2c38ccb

Browse files
committed
remove extraneous comments
1 parent 0ef95ec commit 2c38ccb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

apps/sim/app/workspace/[workspaceId]/knowledge/knowledge.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,9 @@ export function Knowledge() {
8282
const handleContentContextMenu = useCallback(
8383
(e: React.MouseEvent) => {
8484
const target = e.target as HTMLElement
85-
// Check if the click is on an interactive element or KB card
8685
const isOnCard = target.closest('[data-kb-card]')
8786
const isOnInteractive = target.closest('button, input, a, [role="button"]')
8887

89-
// Only show context menu if clicking on empty space
9088
if (!isOnCard && !isOnInteractive) {
9189
handleListContextMenu(e)
9290
}

0 commit comments

Comments
 (0)