Skip to content

Commit

Permalink
class to className
Browse files Browse the repository at this point in the history
  • Loading branch information
ramory-l committed Jan 6, 2021
1 parent f086ab0 commit 2e1f957
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/src/components/searchForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ class SearchForm extends Form {
>
Sort by distance{" "}
{this.context.sortBy.order === "asc" ? (
<i class="fa fa-sort-asc" aria-hidden="true"></i>
<i className="fa fa-sort-asc" aria-hidden="true"></i>
) : (
<i class="fa fa-sort-desc" aria-hidden="true"></i>
<i className="fa fa-sort-desc" aria-hidden="true"></i>
)}
</button>
<button
Expand All @@ -138,9 +138,9 @@ class SearchForm extends Form {
>
Sort by rate{" "}
{this.context.sortBy.order === "asc" ? (
<i class="fa fa-sort-asc" aria-hidden="true"></i>
<i className="fa fa-sort-asc" aria-hidden="true"></i>
) : (
<i class="fa fa-sort-desc" aria-hidden="true"></i>
<i className="fa fa-sort-desc" aria-hidden="true"></i>
)}
</button>
<button
Expand All @@ -154,9 +154,9 @@ class SearchForm extends Form {
>
Sort by age{" "}
{this.context.sortBy.order === "asc" ? (
<i class="fa fa-sort-asc" aria-hidden="true"></i>
<i className="fa fa-sort-asc" aria-hidden="true"></i>
) : (
<i class="fa fa-sort-desc" aria-hidden="true"></i>
<i className="fa fa-sort-desc" aria-hidden="true"></i>
)}
</button>
</div>
Expand Down

0 comments on commit 2e1f957

Please sign in to comment.