Skip to content

Commit 71f8502

Browse files
committed
fix CI issues
1 parent 031d821 commit 71f8502

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

client/src/components/SidePanel/Agents/Version/__tests__/VersionPanel.spec.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ jest.mock('~/hooks', () => ({
5858
})),
5959
}));
6060

61-
6261
describe('VersionPanel', () => {
6362
const mockSetActivePanel = jest.fn();
6463

@@ -115,7 +114,7 @@ describe('VersionPanel', () => {
115114

116115
describe('edge cases', () => {
117116
const mockUseGetAgentByIdQuery = jest.requireMock('~/data-provider').useGetAgentByIdQuery;
118-
117+
119118
beforeEach(() => {
120119
jest.clearAllMocks();
121120
});

client/src/data-provider/Agents/mutations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const useCreateAgentMutation = (
4444
export const useUpdateAgentMutation = (
4545
options?: t.UpdateAgentMutationOptions,
4646
): UseMutationResult<
47-
t.Agent,
47+
t.Agent,
4848
t.DuplicateVersionError,
4949
{ agent_id: string; data: t.AgentUpdateParams }
5050
> => {

client/src/locales/en/translation.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,7 @@
489489
"com_ui_agent_version_restore": "Restore",
490490
"com_ui_agent_version_restore_confirm": "Are you sure you want to restore this version?",
491491
"com_ui_agent_version_restore_success": "Version restored successfully",
492-
"com_ui_agent_version_restore_success_description": "The agent has been reverted to the selected version",
493492
"com_ui_agent_version_restore_error": "Failed to restore version",
494-
"com_ui_agent_version_restore_error_description": "There was an error restoring the agent to this version",
495493
"com_ui_agent_version_no_agent": "No agent selected. Please select an agent to view version history.",
496494
"com_ui_agent_version_unknown_date": "Unknown date",
497495
"com_ui_agent_version_no_date": "Date not available",

0 commit comments

Comments
 (0)