0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

fix(console): buildUserDetailsPathname (#2697)

This commit is contained in:
Xiao Yijun 2022-12-21 13:58:24 +08:00 committed by GitHub
parent 775b1d0a02
commit c552c93e4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ const userTableColumn = 3;
const usersPathname = '/users'; const usersPathname = '/users';
const createUserPathname = `${usersPathname}/create`; const createUserPathname = `${usersPathname}/create`;
const buildDetailsPathname = (id: string) => `${usersPathname}/id`; const buildDetailsPathname = (id: string) => `${usersPathname}/${id}`;
const Users = () => { const Users = () => {
const { pathname } = useLocation(); const { pathname } = useLocation();