Skip to content

Commit

Permalink
refactor variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubabrzy committed Sep 18, 2023
1 parent fe9ee93 commit 20ef8c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/supporters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function SupportersPage() {
? filteredSupporters
: filteredSupporters.slice(0, INITIAL_LIST_COUNT);

const hasMoreButtonVisible = filteredSupporters.length > INITIAL_LIST_COUNT;
const isMoreButtonVisible = filteredSupporters.length > INITIAL_LIST_COUNT;

return (
<Layout title="OpenTF Supporters">
Expand Down Expand Up @@ -55,7 +55,7 @@ export default function SupportersPage() {
</div>
<SupportersList list={truncatedSupporters} />
<div className="flex gap-6 justify-center">
{hasMoreButtonVisible && (
{isMoreButtonVisible && (
<Button
variant="secondary"
onClick={() => setShowAll((v) => !v)}
Expand Down

0 comments on commit 20ef8c4

Please sign in to comment.