Skip to content

Commit 3fdae5b

Browse files
committed
fix: reset communication on either pluginSource or pluginShortName change
1 parent 496472a commit 3fdae5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/plugin/src/Plugin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const Plugin = ({
5454

5555
useEffect(() => {
5656
setCommunicationReceived(false)
57-
}, [pluginSource])
57+
}, [pluginEntryPoint])
5858

5959
useEffect(() => {
6060
// if communicationReceived switches from false to true, the props have been sent

0 commit comments

Comments
 (0)