Skip to content

Commit

Permalink
Disable react-content-loader animation on <Loader>
Browse files Browse the repository at this point in the history
Seems to have a huge perf hit on CPU danilowoz/react-content-loader#125
  • Loading branch information
Tomi Kalmi committed May 26, 2020
1 parent b3bf26e commit 1094cd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import ContentLoader from 'react-content-loader';

const Loader = () => (
<ContentLoader
animate={false}
speed={2}
width={400}
height={85}
Expand Down

0 comments on commit 1094cd8

Please sign in to comment.