Skip to content

Commit

Permalink
fix: 불필요한 코드 제거 및 오타 수정 (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
HSjjs98 committed Jul 5, 2024
1 parent 27ffeca commit 44dfa7f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/pages/Members/Members.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class MembersPage extends Main {
.then((data) => {
this.contents = data;
this.renderTable();
if (window.location.pathname === PATH.MEMBER) {
if (window.location.pathname === PATH.MEMBERS) {
this.render();
}
})
Expand Down Expand Up @@ -92,12 +92,10 @@ export default class MembersPage extends Main {
${this.table ? this.table.html() : ''}
</div>
<div class='pagination-container'>
${this.pagination ? this.pagination.html() : ''}
${this.pagination.html()}
</div>
</div>
`;
if (this.pagination) {
this.pagination.render();
}
this.pagination.render();
}
}

0 comments on commit 44dfa7f

Please sign in to comment.