fix: minor comment note about Maybe<Result<>> pattern in birthday store
commit5ebb940909a0800f2fe7e01b547b6444e2d5bf7a
authorMatt Condon (shrugs) <mattgcondon@gmail.com>
dateWed 17 Jul 2019, 16:07 (7 years ago)
parentdffcebf
src/store/lib/useBirthdaysStore.js+1−1
@@ -45,7 +45,7 @@ export default function useBirthdayStore() {
4545 [point]: Just(new Date(block.timestamp * 1000)),
4646 });
4747 } else {
48− // TODO: better encoding for "no birthday" state?
48+ // TODO: better encoding for "no birthday" state using Result.Ok/Error
4949 // if there's no birthday, just use today
5050 addToBirthdayCache({
5151 [point]: Just(new Date()),