-
Notifications
You must be signed in to change notification settings - Fork 42
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
Issue 763 - Changed relevant HTML anchors to use Button components instead #774
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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
href={gradedHrefData} | ||
download={gradedName} | ||
download={gradedFileName} |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
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