Fix warnings

This commit is contained in:
Rodrigo Pombo 2019-03-18 17:59:27 -03:00
parent 8ca216e4f2
commit 32e549cb15
2 changed files with 8 additions and 3 deletions

View File

@ -89,6 +89,7 @@ export default function Landing() {
>
<iframe
src="https://ghbtns.com/github-btn.html?user=pomber&repo=git-history&type=star&count=true&size=large"
title="GitHub Stars"
frameBorder="0"
scrolling="0"
width="160px"
@ -157,7 +158,7 @@ function Testimony({ link, avatar, name, children }) {
<blockquote>
<p>{children}</p>
<cite style={{ display: "flex", alignItems: "center" }}>
<img src={avatar} />
<img src={avatar} alt="avatar" />
<strong style={{ paddingLeft: "10px", fontStyle: "normal" }}>
{name}
</strong>
@ -211,7 +212,11 @@ function Backers() {
/>
<h3>Backers</h3>
<p>
Thank you to all our backers! 🙏.{" "}
Thank you to all our backers!{" "}
<span role="img" aria-label="thanks">
🙏
</span>
.{" "}
<a href="https://opencollective.com/git-history#sponsor">
Become a backer to help us ship more features!
</a>

View File

@ -10,7 +10,7 @@ export default function useChildren({
}) {
const children = [];
const extraRender = 1500;
const extraRender = 1000;
const topT = top - extraRender;
const bottomT = top + height + extraRender;