Skip to content

Commit

Permalink
Merge pull request #327 from ProteinsWebTeam/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
gustavo-salazar authored Feb 26, 2021
2 parents 7e8abaa + eeff824 commit 45a53ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ExtLink/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ exports[`External links <BaseLink /> should render simple links 9`] = `
exports[`External links <DOILink /> should render simple links 1`] = `
<BaseLink
id="1.2.a.b"
pattern="{id}"
pattern="https://pubs.acs.org/doi/{id}"
target="_blank"
>
1.2.a.b
Expand Down
2 changes: 1 addition & 1 deletion src/components/ExtLink/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ PMCLink.propTypes = {
};
PMCLink.displayName = 'PMCLink';

export const DOILink = patternLinkWrapper('{id}');
export const DOILink = patternLinkWrapper('https://pubs.acs.org/doi/{id}');
DOILink.displayName = 'DOILink';

export const GoLink = (
Expand Down
1 change: 1 addition & 0 deletions src/pages/Home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ const Announcement = () => (
href="https://www.surveymonkey.co.uk/r/EMBL-EBI_Impact_DR"
className={f('button')}
style={{
marginLeft: '0.5em',
background: 'darkgreen',
whiteSpace: 'nowrap',
borderRadius: '5px',
Expand Down

0 comments on commit 45a53ab

Please sign in to comment.