From ae621d084ca33028b051d2ecd12e5458a1906108 Mon Sep 17 00:00:00 2001 From: moklick Date: Wed, 6 Oct 2021 10:30:08 +0200 Subject: [PATCH] chore(selection-listener): remove easy-peasy related comment --- src/components/SelectionListener/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/SelectionListener/index.tsx b/src/components/SelectionListener/index.tsx index 98e1e0d4..9f912794 100644 --- a/src/components/SelectionListener/index.tsx +++ b/src/components/SelectionListener/index.tsx @@ -7,9 +7,7 @@ interface SelectionListenerProps { onSelectionChange: (elements: Elements | null) => void; } -// This is just a helper component for calling the onSelectionChange listener. -// As soon as easy-peasy has implemented the effectOn hook, we can remove this component -// and use the hook instead. https://github.com/ctrlplusb/easy-peasy/pull/459 +// This is a helper component for calling the onSelectionChange listener export default ({ onSelectionChange }: SelectionListenerProps) => { const selectedElements = useStoreState((s) => s.selectedElements);