Removed lazyload from Binas

dependabot/npm_and_yarn/typescript-eslint/parser-4.33.0
Guusvanmeerveld 3 years ago
parent 7c77007c6d
commit 918c7a56aa

@ -14,7 +14,6 @@
"react": "17.0.1",
"react-dom": "17.0.1",
"react-icons": "^4.2.0",
"react-lazyload": "^3.2.0",
"sass": "^1.32.8"
},
"devDependencies": {
@ -22,4 +21,4 @@
"@types/react": "^17.0.3",
"typescript": "^4.2.3"
}
}
}

@ -1,5 +1,4 @@
import Page from "@components/Page";
import LazyLoad from "react-lazyload";
import { Component } from "react";
import Layout from "@components/Layout";
@ -24,10 +23,8 @@ class Binas extends Component {
<Page title="Binas" description="Voor wanneer je effe de binas nodig hebt">
<Layout>
<div className="binas">
{this.links.map((link) => (
<LazyLoad height={100} offset={100}>
<img src={link} alt="" />
</LazyLoad>
{this.links.map((link, i) => (
<img key={i} src={link} alt="" />
))}
</div>
</Layout>

Loading…
Cancel
Save