Removed lazyload from Binas

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

@ -14,7 +14,6 @@
"react": "17.0.1", "react": "17.0.1",
"react-dom": "17.0.1", "react-dom": "17.0.1",
"react-icons": "^4.2.0", "react-icons": "^4.2.0",
"react-lazyload": "^3.2.0",
"sass": "^1.32.8" "sass": "^1.32.8"
}, },
"devDependencies": { "devDependencies": {

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

Loading…
Cancel
Save