Skip to content

Commit

Permalink
Update packages/gatsby-image/src/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet authored Jul 7, 2020
1 parent d9cc454 commit 3be40be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-image/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const matchesMedia = ({ media }) =>
* Find the source of an image to use as a key in the image cache.
* Use `the first image in either `fixed` or `fluid`
* @param {{fluid: {src: string, media?: string}[], fixed: {src: string, media?: string}[]}} args
* @return {string} or undefined if not cacheable
* @return {string?} Returns image src or undefined it not given.
*/
const getImageCacheKey = ({ fluid, fixed }) => {
const srcData = getCurrentSrcData(fluid || fixed || [])
Expand Down

0 comments on commit 3be40be

Please sign in to comment.