Skip to content

Commit

Permalink
fix: Remove unnecessary dependency from useEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
kiiran committed Nov 29, 2021
1 parent b9ad4a8 commit a49db7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const WebMonetizationProvider: React.FC = ({ children }) => {
return () => {
events.forEach((removeListener) => removeListener())
}
}, [setState])
}, [])

return (
<WebMonetizationContext.Provider
Expand Down

0 comments on commit a49db7b

Please sign in to comment.