chore(selection-listener): remove easy-peasy related comment

This commit is contained in:
moklick
2021-10-06 10:30:08 +02:00
parent 654c9e5235
commit ae621d084c
+1 -3
View File
@@ -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);