maurodesouza / profile-readme-generator

🎨 Enhance your GitHub profile with this amazing tool, which allows you to create a personalized README quickly and easily. This profile README generator is the best you'll find 🚀
https://profile-readme-generator.com
MIT License
1.63k stars 241 forks source link

fix: application crashes when attempting to right-click an element #12

Closed suikodev closed 1 year ago

suikodev commented 1 year ago

What type of PR is this? (check all applicable)

What I did

Summery

this pr fixed #8 .

Details

Every attempt to right click an element generate this exception, this bug practically prevents users from using this useful application (users cannot delete elements unless all elements are cleared).
I located this bug in src/components/context-menus/section/index.tsx, thus I updated the logic for locating the element with data-sectionid.

Preview

preview

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @maurodesouza on Vercel.

@maurodesouza first needs to authorize it.

maurodesouza commented 1 year ago

Hi @suikodev, thanks for the fix ❤