Skip to content

Conversation

@skberkeley
Copy link
Contributor

I tested the front end components corresponding to the modified files to make sure they all looked the same and all the buttons still downloaded the relevant files properly

@skberkeley skberkeley requested a review from mathildepm October 6, 2021 01:30
@skberkeley skberkeley linked an issue Oct 6, 2021 that may be closed by this pull request
Copy link
Contributor

@srisainachuri srisainachuri left a comment

Choose a reason for hiding this comment

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

Missing some imports and issues with variable names, but the general construction of the components looked fine

size="large"
href={gradedHrefData}
download={gradedName}
download={gradedFileName}
Copy link
Contributor

Choose a reason for hiding this comment

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

The variable gradedFileName is not defined, did you mean to rename gradedName?

"button-blue": true,
"rounded-small": true,
})}
<Button
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing import to Button at the top of the file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think line 8 const { Button } = require("components/core/Button"); should work, since other Button components from previous commits use that

"button-green": true,
"rounded-small": true,
})}
<Button
Copy link
Contributor

Choose a reason for hiding this comment

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

also missing Button import I believe, but looks good otherwise

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.

Change all html anchors to Button components

3 participants