Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EGRC-265: Fix Key Prop Errors #18

Merged
merged 2 commits into from
Mar 19, 2021
Merged

EGRC-265: Fix Key Prop Errors #18

merged 2 commits into from
Mar 19, 2021

Conversation

rgauss
Copy link
Contributor

@rgauss rgauss commented Mar 18, 2021

No description provided.

@@ -46,7 +46,7 @@ export default function OSCALControlImplementation(props) {
<List className={classes.OSCALControlImplementationImplReqList}>
{props.controlImplementation.['implemented-requirements'].map(implementedRequirement => (
<OSCALControlImplementationImplReq implementedRequirement={implementedRequirement}
components={props.components} controls={props.controls} childLevel={0} />
components={props.components} controls={props.controls} childLevel={0} key={implementedRequirement.uuid} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of the Key props errors were solved except for one referring to this key. I resolved it by concatenating a string onto it like we have in previous keys to make them more specific.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kkennedy26, what were you doing to see the warning? I wasn't getting any.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rgauss I just cloned the repo, switched to the 245 branch, and did npm install, npm test.

Copy link
Contributor

@hkps hkps Mar 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got that warning as well, and resolved it the same way

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, see it now. It's actually bad test data, uuid is required. Just committed a fix.

@rgauss rgauss requested a review from kkennedy26 March 18, 2021 21:54
@rgauss rgauss merged commit 2d10c5f into EGRC-130 Mar 19, 2021
@rgauss rgauss deleted the EGRC-265 branch March 19, 2021 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants