Set the root CID inside the custom hook used to get parcelContent instead of the effect hook in ParceInfo, so that both the basic profile info and the root CID are showed at the same time in the UI.
Issue
fixes #382
Checklist:
[x] My commit message follows the Conventional Commits specification
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have tested my code
[x] My changes generate no new warnings
[x] My PR is rebased off the most recent develop branch
Description
Set the root CID inside the custom hook used to get
parcelContent
instead of the effect hook inParceInfo
, so that both the basic profile info and the root CID are showed at the same time in the UI.Issue
fixes #382
Checklist:
develop
branchdevelop
branchAlert Reviewers
@codynhat @gravenp