Skip to content

Commit

Permalink
fix: reset communication on either pluginSource or pluginShortName ch…
Browse files Browse the repository at this point in the history
…ange
  • Loading branch information
tomzemp committed Jun 23, 2023
1 parent 496472a commit 3fdae5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/plugin/src/Plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const Plugin = ({

useEffect(() => {
setCommunicationReceived(false)
}, [pluginSource])
}, [pluginEntryPoint])

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

0 comments on commit 3fdae5b

Please sign in to comment.