Skip to content

Commit

Permalink
delete the blankspace in getPageTitle
Browse files Browse the repository at this point in the history
Signed-off-by: YoungHypo <haiboyang@smail.nju.edu.cn>
  • Loading branch information
YoungHypo committed Oct 8, 2024
1 parent 0b96f6a commit 789373d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dashboard/src/utils/getPageTitle.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const matchParamsPath = (pathname, breadcrumbNameMap) => {
const { regexp } = pathToRegexp(key);
return regexp.test(pathname);
});

return breadcrumbNameMap[pathKey];
};

Expand Down

0 comments on commit 789373d

Please sign in to comment.