cadia-lvl / samromur

https://samromur.is/
MIT License
2 stars 2 forks source link

make labels a property, fetch it in initalProps before rendering hlusta #100

Closed staffanru closed 3 years ago

staffanru commented 3 years ago

I noticed that we can have a weird behavior, that after you click hlusta, you first get to see the select package size screen, then it switches to the select verification package.

This moves the responsibility for fetching the labels purely to the hlusta page. With finds them and sends them as a property to Contribute.

Now after pressing hlusta, the loading icon should show until the labels have also been fetched.