Skip to content

Commit 9d16fa1

Browse files
[Security Solution] Fix timeline pin event callback
1 parent 69844e4 commit 9d16fa1

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugins/security_solution/public/timelines/components/timeline/body

1 file changed

+1
-1
lines changed

x-pack/plugins/security_solution/public/timelines/components/timeline/body/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const getPinOnClick = ({
6969
if (!allowUnpinning) {
7070
return noop;
7171
}
72-
return isEventPinned ? () => onUnPinEvent(eventId) : () => onPinEvent(eventId);
72+
return isEventPinned ? onUnPinEvent(eventId) : onPinEvent(eventId);
7373
};
7474

7575
/**

0 commit comments

Comments
 (0)