try {
await mutateAsync(id);
} catch (error) {
if(error instanceof TRPCClientError<>){
//Process the error here if unauthorized regenerate accessToken and retry
}
}
try {
await mutateAsync(id);
} catch (error) {
if(error instanceof TRPCClientError<>){
//Process the error here if unauthorized regenerate accessToken and retry
}
}