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

Closes #25051

Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
Jon Koops 2023-11-30 13:50:22 +01:00 committed by GitHub
parent cafc238ff2
commit 28810222d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
}