diff --git a/packages/gatsby-image/src/art-direction.js b/packages/gatsby-image/src/art-direction.js
index 097653ebaf58b..a6950ced87545 100644
--- a/packages/gatsby-image/src/art-direction.js
+++ b/packages/gatsby-image/src/art-direction.js
@@ -25,14 +25,25 @@ const getShortKey = input => `_` + djb2a(input).toString(36)
// `emotion` does similar with `
))}
@@ -60,7 +71,7 @@ const withArtDirection = props => {
const imageVariants = props.fluid || props.fixed
const uniqueKey = !isBrowser
- ? getShortKey(imageVariants.map(v => v.srcSet).join(``))
+ ? ` ` + getShortKey(imageVariants.map(v => v.srcSet).join(``))
: ``
return (
@@ -69,7 +80,7 @@ const withArtDirection = props => {
imageVariants={imageVariants}
selectorClass={uniqueKey}
/>
-
+
>
)
}