[]previous and next page

What counts as a component

The rules apply inside a component: a PascalCase function with at most one parameter that contains JSX.

For agentsUpdated

The rules apply inside a component: a PascalCase function with at most one parameter that contains JSX. The function may be a declaration, a function expression or an arrow function assigned to a PascalCase name. async functions and generators never count.