Fix 'Cancel' button in the user form (#25161) (#25164)

Closes #25051

Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
Jon Koops
2023-12-05 03:29:34 +01:00
committed by GitHub
parent 58a4ac8341
commit f5c09a0cbc

View File

@@ -397,7 +397,7 @@ export const UserForm = ({
component={
!user?.id
? (props) => (
<Link {...props} to={toUsers({ realm: realm.id! })} />
<Link {...props} to={toUsers({ realm: realm.realm! })} />
)
: undefined
}