Mojang / ore-ui

💎 Building blocks to construct game UIs using web tech.
https://react-facet.mojang.com/
MIT License
404 stars 19 forks source link

Revert to using void as cleanup type for useFacetEffect #128

Closed dderg closed 1 year ago

dderg commented 1 year ago

As @pirelenito noticed the change introduced in https://github.com/Mojang/ore-ui/pull/126 requires use of return undefined when using useFacetEffect. This PR fixes that issue.