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:
parent
775b1d0a02
commit
c552c93e4c
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue