Closed Seam7 closed 3 years ago
@TheMightyPenguin Sorry for the comment on a merged PR, but I think that the return of createBox
doesn't need to be destructured
@TheMightyPenguin Sorry for the comment on a merged PR, but I think that the return of
createBox
doesn't need to be destructured
Hey @jose-landero ! It was actually needed on a previous version of the library as we actually returned an object, but not anymore, we refactored the API yesterday. But this was needed as we were actually returning an object!
You can see the commit where the API did return an object here https://github.com/TheMightyPenguin/dessert-box/commit/93ab42af1afa43b289550142ef5d1eb97f1976cc
Oh! I see, that's why I get confused 😅 Thanks, awesome work!
Oh! I see, that's why I get confused 😅 Thanks, awesome work!
@jose-landero thank you haha it makes me happy to see people using this project and looking around in the repository! 🙌
Thanks for the contribution!! 🎉🎉💯