From c552c93e4c765cbae15c05e6ccd0ad2a8e0a6bce Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Wed, 21 Dec 2022 13:58:24 +0800 Subject: [PATCH] fix(console): `buildUserDetailsPathname` (#2697) --- packages/console/src/pages/Users/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/console/src/pages/Users/index.tsx b/packages/console/src/pages/Users/index.tsx index 36fdcd177..f74a243e6 100644 --- a/packages/console/src/pages/Users/index.tsx +++ b/packages/console/src/pages/Users/index.tsx @@ -33,7 +33,7 @@ const userTableColumn = 3; const usersPathname = '/users'; const createUserPathname = `${usersPathname}/create`; -const buildDetailsPathname = (id: string) => `${usersPathname}/id`; +const buildDetailsPathname = (id: string) => `${usersPathname}/${id}`; const Users = () => { const { pathname } = useLocation();