Process contribution data before loading models
This commit is contained in:
@@ -3,7 +3,7 @@ export default function processContributorData(data) {
|
||||
id: data.id.toString(),
|
||||
balance: data.balanceInt,
|
||||
totalKreditsEarned: data.totalKreditsEarned,
|
||||
contributionsCount: data.contributionsCount.toNumber()
|
||||
contributionsCount: data.contributionsCount?.toNumber()
|
||||
}
|
||||
|
||||
const otherProperties = [
|
||||
|
||||
Reference in New Issue
Block a user