Peter Makowski has proposed merging 
~petermakowski/maas-site-manager:fix-requests-link into maas-site-manager:main.

Commit message:
fix requests link

Requested reviews:
  MAAS Committers (maas-committers)

For more details, see:
https://code.launchpad.net/~petermakowski/maas-site-manager/+git/site-manager/+merge/441678
-- 
Your team MAAS Committers is requested to review the proposed merge of 
~petermakowski/maas-site-manager:fix-requests-link into maas-site-manager:main.
diff --git a/frontend/src/components/TokensList/TokensList.tsx b/frontend/src/components/TokensList/TokensList.tsx
index 6bc8d28..d2e6da9 100644
--- a/frontend/src/components/TokensList/TokensList.tsx
+++ b/frontend/src/components/TokensList/TokensList.tsx
@@ -6,6 +6,7 @@ import { Link } from "react-router-dom";
 import TokensTable from "./components/TokensTable/TokensTable";
 
 import docsUrls from "@/base/docsUrls";
+import { routesConfig } from "@/base/routesConfig";
 import ExternalLink from "@/components/ExternalLink";
 import PaginationBar from "@/components/base/PaginationBar";
 import { useAppContext } from "@/context";
@@ -60,7 +61,7 @@ const TokensList = () => {
                         {/* TODO: Add certificate here once endpoint is ready https://warthogs.atlassian.net/browse/MAASENG-1584 */}
                       </li>
                       <li>
-                        Accept the incoming request in the <Link to="/requests">Requests page</Link>
+                        Accept the incoming request in the <Link to={routesConfig.requests.path}>Requests page</Link>
                       </li>
                     </ol>
                   ),
-- 
Mailing list: https://launchpad.net/~sts-sponsors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sts-sponsors
More help   : https://help.launchpad.net/ListHelp

Reply via email to