packages/page-bounties/src/helpers/getBountyStatus.ts
Function getBountyStatus
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const getBountyStatus = (status: BountyStatus): BountyStatusType => {
const statusAsString = status.type as StatusName;
let result: BountyStatusType = {
beneficiary: undefined,