refactor: using react hooks

This commit is contained in:
alxshelepenok
2019-05-09 16:57:42 +03:00
parent cb4d08f434
commit 4ada925e0f
45 changed files with 1972 additions and 781 deletions

View File

@@ -4,8 +4,8 @@ exports[`Author renders correctly 1`] = `
<div
className="author"
>
<Link
to="/"
<a
href="/"
>
<img
alt="test"
@@ -14,16 +14,16 @@ exports[`Author renders correctly 1`] = `
src="/photo.jpg"
width="75"
/>
</Link>
</a>
<h2
className="author__title"
>
<Link
<a
className="author__title-link"
to="/"
href="/"
>
test
</Link>
</a>
</h2>
<p
className="author__subtitle"