Skip to content

Commit

Permalink
hoxfix: change big images to thumbnail images on SpeciesPreview
Browse files Browse the repository at this point in the history
  • Loading branch information
javierblancoNS committed Dec 24, 2021
1 parent bd48efa commit 62f631a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/.docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:alpine
FROM node:14-alpine

RUN \
apk add --no-cache python3 make g++ && \
Expand Down
2 changes: 1 addition & 1 deletion frontend/.docker/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:alpine
FROM node:14-alpine

ENV NEXT_TELEMETRY_DISABLED 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const SpeciesPreview: FC<SpeciesPreviewProps> = ({
if (data.taxonConcept) {
setScName(data.taxonConcept.scientificName);
data.taxonConcept.dataObjects?.length > 0
? setSpeciesThumbnail(data.taxonConcept.dataObjects[0].eolMediaURL)
? setSpeciesThumbnail(data.taxonConcept.dataObjects[0].eolThumbnailURL)
: setSpeciesThumbnailWithWikispecies(
canonicalName.replace(" ", "_")
);
Expand Down

0 comments on commit 62f631a

Please sign in to comment.