Skip to content

Commit

Permalink
change cross-fetch instead of isomorphic-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
tubone24 committed Feb 24, 2021
1 parent 946949d commit 8866351
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ const HeroImage = styled.div<Props>`
filter: blur(30px);
transform: scale(1.1);
@keyframes reveal { from { filter:blur(30px); transform: scale(1.1); } to { filter:blur(0px); transform: scale(1.0); } }
${props => props.src && css`
background: url(${props => props.src}); /* TS2339 */
${props => props.src && css<Props>`
background: url(${props => props.src});
background-repeat: no-repeat;
background-size: contain;
image-rendering: -webkit-optimize-contrast;
animation: 0.5s linear forwards reveal;
`}
${props => props.thumbnail && css`
${props => props.thumbnail && css<Props>`
background-image: url(${props => props.thumbnail}); /* TS2339 */
background-repeat: no-repeat;
background-size: contain;
Expand Down

0 comments on commit 8866351

Please sign in to comment.