Skip to content

Commit

Permalink
Remove Pagination as per code review
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Dec 16, 2024
1 parent 81092bf commit 61c4d87
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,7 @@ export default async function fetchLinkSuggestions(
if ( ! type || type === 'post-type-archive' ) {
queries.push(
apiFetch< PostTypesAPIResult[] >( {
path: addQueryArgs( '/wp/v2/types', {
page,
per_page: perPage,
} ),
path: addQueryArgs( '/wp/v2/types' ),
} )
.then( ( results ) => {
const resultValues = Object.values( results );
Expand Down

0 comments on commit 61c4d87

Please sign in to comment.