Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
psrpinto committed Sep 12, 2024
1 parent ef1ea24 commit 215a42d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/ApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class ApiClient {
}

async getPosts(): Promise< Post[] > {
// eslint-disable-next-line react/no-is-mounted
const response = ( await this.get(
'/wp/v2/posts'
) ) as WP_REST_API_Post[];
Expand Down

0 comments on commit 215a42d

Please sign in to comment.