Skip to content

Commit 5238e46

Browse files
committed
chore(react): return refresh success
1 parent 76587af commit 5238e46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ export function AuthProvider({
333333
if (data.errors && data.errors.length > 0) {
334334
throw new Error("Failed to refresh token");
335335
}
336-
return true;
336+
return data;
337337
};
338338

339339
const clearTokens = async () => {

0 commit comments

Comments
 (0)