Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const UsersListContainer = () => {
const { payload, error } = useSuspenseQuery(fetchUsersList);
return ;
};
export const NewsListContainer = () => {
const { payload, error, query } = useSuspenseQuery(fetchNewsList);
return (
<div>
<button color="primary">
Click to reload
</button>
</div>
);
};