amark / gun

An open source cybersecurity protocol for syncing decentralized graph data.
https://gun.eco/docs
Other
17.93k stars 1.16k forks source link

gun/src fix for localStorage #1348

Closed bmatusiak closed 5 months ago

bmatusiak commented 6 months ago

the effect is still the same.. return statements cant be outside of a function block.,, and unbuild removed it's block

amark commented 5 months ago

with your approval, I fixed this by wrapping things in unbuild because of other issues, but it also lets me have this be fixed now too, so this PR is not needed, thanks for making me aware of this (which then made me find all the other ones too).