useSelect() with param
I have a list Address and I want to fetch list address base on user_id. How can I use useSelect to do that?
useSelect hook in Refine allows you to manage any select component and fetch data. It uses the useList hook for fetching data. You can use this hook to fetch a list of addresses based on user_id.user_id is not provided in the extracts. You would typically need to pass the user_id as a parameter to your data fetching function, which is then used to filter the addresses.useSelect hook:useSelect is used to handle error notifications. You would need to customize this to fetch and filter addresses based on user_id.useSelect hook, you can refer to the Refine useSelect documentation (https://refine.dev/docs/api-reference/core/hooks/useSelect/index) and the useSelect examples (https://refine.dev/docs/examples/field/useSelect).Note: you can ask me a follow up question by @ mentioning me again 
useSelectuseSelectuseSelectuseSelectuser_iduser_iduser_iduser_iduseSelect({
errorNotification: (data, values, resource) => {
return {
message: `Something went wrong when getting ${data.id}`,
description: "Error",
type: "error",
};
},
});