Skip to content

Commit

Permalink
Add names and fix safari bugs (#25)
Browse files Browse the repository at this point in the history
* Add names and fix safari bugs

* Remove sync
  • Loading branch information
raymondjacobson authored Feb 17, 2023
1 parent ecfdf12 commit 3a899f5
Show file tree
Hide file tree
Showing 63 changed files with 6,086 additions and 97 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ npm run build
Preview changes:

```bash
wrangler preview
npm run preview
```

Publish changes:

```bash
wrangler publish
npm run publish
```

## Description
Expand Down
3 changes: 1 addition & 2 deletions components/FadeImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ export const FadeImage = ({
setLoaded(true)
}
image.src = src
}, [])
}, [src])
return (
<div
className={containerClassName}
style={{ transition: '1s ease-in-out', opacity: loaded ? 1 : 0 }}
>
{' '}
<img className={className} src={src} alt={alt} />
</div>
)
Expand Down
Loading

0 comments on commit 3a899f5

Please sign in to comment.