(quest: UserQuest)
| 52 | } |
| 53 | |
| 54 | export const getQuestChainLabel = (quest: UserQuest): string | null => |
| 55 | quest.chainStep && quest.chainLength && quest.chainLength > 1 |
| 56 | ? `Step ${quest.chainStep}/${quest.chainLength}` |
| 57 | : null; |
| 58 | |
| 59 | // A claim is only reliably detected by checking both: the API stamps |
| 60 | // `claimedAt` without always flipping `status` to `claimed`. |
no outgoing calls
no test coverage detected