muttoni / contract-browser

The one stop shop for smart contracts on Flow
https://contractbrowser.com
8 stars 3 forks source link

[BUG] Incorrect .find slug / redirect URL #4

Closed bartolomej closed 3 weeks ago

bartolomej commented 6 months ago

Current Behavior

When a wallet has a .find record, its name is shown in the top dropdown. But when you click on the name, the link is incorrect.

Expected Behavior

In this case, it should lead to flowser.find (https://find.xyz/flowser), instead of https://find.xyz/Flowser%20team.

Screenshot 2023-12-10 at 21 30 49

Steps To Reproduce

Click on the .find link in the top dropdown (for wallets with an existing .find record)

muttoni commented 3 weeks ago

The reason is it uses the profile name, not the id! thanks for flagging, will fix. Sorry I only just saw this one.

muttoni commented 3 weeks ago

Fixed in https://github.com/muttoni/contract-browser/commit/7aa56d7c0be91e218c311711eab231f07b044b73