diff --git a/apps/opik-frontend/src/components/pages/PromptPage/PromptTab/CommitsTab.tsx b/apps/opik-frontend/src/components/pages/PromptPage/PromptTab/CommitsTab.tsx index ab43b8137..1a7b26fc7 100644 --- a/apps/opik-frontend/src/components/pages/PromptPage/PromptTab/CommitsTab.tsx +++ b/apps/opik-frontend/src/components/pages/PromptPage/PromptTab/CommitsTab.tsx @@ -86,7 +86,7 @@ const CommitsTab = ({ prompt }: CommitsTabInterface) => { }); } }, - [prompt?.id], + [prompt?.id, navigate, workspaceName], ); if (isPending) { diff --git a/apps/opik-frontend/src/components/pages/PromptPage/PromptTab/EditPromptDialog.tsx b/apps/opik-frontend/src/components/pages/PromptPage/PromptTab/EditPromptDialog.tsx index 8fbf17b05..87aa80a54 100644 --- a/apps/opik-frontend/src/components/pages/PromptPage/PromptTab/EditPromptDialog.tsx +++ b/apps/opik-frontend/src/components/pages/PromptPage/PromptTab/EditPromptDialog.tsx @@ -46,7 +46,7 @@ const EditPromptDialog: React.FunctionComponent = ({ return ( - + Edit prompt @@ -56,7 +56,7 @@ const EditPromptDialog: React.FunctionComponent = ({ can access older versions of the prompt from the Commits tab.

-
+