-
Notifications
You must be signed in to change notification settings - Fork 87
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
semantic-ui: CommunitySelectionModal: Remove unused Footer component #1868
semantic-ui: CommunitySelectionModal: Remove unused Footer component #1868
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.
Reviwed with @sakshamarora1 👀
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.
There are more places of this being hardcoded, see for example here
@@ -17,7 +17,7 @@ export const CommunitySelectionFooter = () => { | |||
<p> | |||
<Trans> | |||
Did not find a community that fits you? Upload without a community or{" "} | |||
<a href="/communities/new">create your own.</a> | |||
<a href="/communities-new">create your own.</a> |
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 all these places should be changed to utilize the config rather the hardcoded values
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.
It's a javascript file, I'm not sure if we are already injecting config?
ce84141
to
d6eeeb8
Compare
Fixes: inveniosoftware/invenio-communities#1209