From 9b584d69ff93ab049a16124b9b6e3ac56ac367c5 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Sun, 9 Jun 2024 19:35:28 +0100 Subject: [PATCH] refactor: Update viewPageRoute in CodeRepositoryPage component --- Dashboard/src/Pages/AICopilot/Index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dashboard/src/Pages/AICopilot/Index.tsx b/Dashboard/src/Pages/AICopilot/Index.tsx index bcc1ed5d55..de15743daf 100644 --- a/Dashboard/src/Pages/AICopilot/Index.tsx +++ b/Dashboard/src/Pages/AICopilot/Index.tsx @@ -47,7 +47,12 @@ const CodeRepositoryPage: FunctionComponent = ( description: 'Git repositores where the AI Copilot can improve your code.', }} - viewPageRoute={new Route(Navigation.getCurrentRoute().toString()+"/code-repository")} + viewPageRoute={ + new Route( + Navigation.getCurrentRoute().toString() + + '/code-repository' + ) + } showViewIdButton={true} noItemsMessage={'No repositories found.'} formFields={[