swarmcity / boardwalk-ts

Boardwalk implementation in TS
boardwalk-ts.vercel.app
MIT License
1 stars 0 forks source link

fix: profile sync #183

Closed filoozom closed 1 year ago

filoozom commented 1 year ago

Two quite important things: 1) I was refreshing the profile every 86.4 seconds instead of every day... Not great. 2) The profile picture was not being synced.

To force a refresh on a local profile, please run:

const profile = JSON.parse(localStorage.getItem('store_profile'))
delete profile.lastUpdate
localStorage.setItem('store_profile', JSON.stringify(profile))
location.reload()
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
boardwalk-ts ✅ Ready (Inspect) Visit Preview Oct 31, 2022 at 9:44AM (UTC)
github-actions[bot] commented 1 year ago

🐝 PR preview in Swarm

Preview URL: https://bah5acgzaxib5qva2vcimgaxfefy225kippxbmcvidgs4yoz463gnnmi5tfta.bzz.link Swarm Hash: ba03d8541aa890c302e52171ad75487bee160aa819a5cc3b3cf6ccd6b11d9966 Commit Hash: b67ff5fc885a0ea8c8dd4fb3d3db2a0a475a0a71 Commit Message: fix: profile sync