Skip to content

Commit

Permalink
Merge pull request #4023 from Codeinwp/fix/react_loop
Browse files Browse the repository at this point in the history
fix: react script loop #4022
  • Loading branch information
preda-bogdan authored Jul 12, 2023
2 parents 3c1bcb0 + 08beeca commit 1eb289f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const InstallActivate = ({

useEffect(() => {
setCustomLabels(labels);
}, [labels]);
}, []);

const getLabel = (type) => {
return progress || !buttonLabels.firstLabel
Expand Down

0 comments on commit 1eb289f

Please sign in to comment.