Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 3097756

Browse files
#63 - Update parameter for redirect on logout
1 parent af31c6a commit 3097756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/Header/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default function Header({
5353
const logoutWithRedirect = () => {
5454
clearOrg();
5555
logout({
56-
redirect: window.location.origin,
56+
returnTo: window.location.origin,
5757
});
5858
};
5959

0 commit comments

Comments
 (0)