Refetch is not working or i am using it incorrectly


I am doing resetStore() when user logout to clear user related data. then, when user logins to the website immediately (without refreshing web) the fetched data will be undefined.
the returned data, when im using the main query function:

    me: undefined

it looks like it is because of cashing, but I also tried refetch but refetch returns completely undefined, even result object is undefined:

const resp = await refetch()

resp === undefined