naturalcrit / homebrewery

Create authentic looking D&D homebrews using only markdown
https://homebrewery.naturalcrit.com
MIT License
1.03k stars 316 forks source link

Add edit link to share page if user is author #3447

Closed 5e-Cleric closed 1 month ago

5e-Cleric commented 1 month ago

edit link is forwarded checking if the user is author in app.js, then checking if there is an edit link in sharePage.jsx, pretty standard stuff

calculuschild commented 1 month ago

~The idea seems fine skimming over the code, but I can't actually get the button to appear on any of my brews.~

NVM. User error.

This seems fine to me. I'll merge this, and we can discuss making this a more obvious switch to edit/share mode as a floating button or whatever as a later PR.