PoiPoi-Dev / PoiPoi-frontend

MIT License
1 stars 4 forks source link

hint bug PR #73

Closed deanachou closed 2 months ago

deanachou commented 2 months ago

Description

First "hint" was always empty because it was getting the original "hints" state, before being set. Extracting the fetch from the toast logic didn't help, so as a solution the first click of "Hint" will display an "are you sure? click again for hints!" notification. Clicking the second time will fetch hints correctly.

Card Link

https://3.basecamp.com/5802516/buckets/37608217/card_tables/cards/7503288098

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Locally

Checklist before requesting a review