fix: Update some apis/datastructures
This commit is contained in:
committed by
mrugesh mohapatra
parent
aca424be97
commit
f5ae5027cc
@@ -33,10 +33,12 @@ const propTypes = {
|
||||
completedDate: PropTypes.number,
|
||||
challengeType: PropTypes.number,
|
||||
solution: PropTypes.string,
|
||||
files: PropTypes.shape({
|
||||
ext: PropTypes.string,
|
||||
contents: PropTypes.string
|
||||
})
|
||||
files: PropTypes.arrayOf(
|
||||
PropTypes.shape({
|
||||
ext: PropTypes.string,
|
||||
contents: PropTypes.string
|
||||
})
|
||||
)
|
||||
})
|
||||
),
|
||||
fetchIdToNameMap: PropTypes.func.isRequired,
|
||||
|
||||
Reference in New Issue
Block a user