From f516e29625c852fa7d5946cd41e6ba7f0d2e48f6 Mon Sep 17 00:00:00 2001 From: Ming Wang Date: Mon, 26 Feb 2024 14:23:33 -0500 Subject: [PATCH] cleanup --- src/app/Archives/AllTargetsArchivedRecordingsTable.tsx | 8 ++++---- src/app/Shared/Services/Api.service.tsx | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app/Archives/AllTargetsArchivedRecordingsTable.tsx b/src/app/Archives/AllTargetsArchivedRecordingsTable.tsx index ebdf50248..19c305f19 100644 --- a/src/app/Archives/AllTargetsArchivedRecordingsTable.tsx +++ b/src/app/Archives/AllTargetsArchivedRecordingsTable.tsx @@ -351,7 +351,7 @@ export const AllTargetsArchivedRecordingsTable: React.FC + {archiveCount} @@ -392,16 +392,16 @@ export const AllTargetsArchivedRecordingsTable: React.FC { context.target.setAuthRetry(); }, [context.target]); - + const isError = React.useMemo(() => errorMessage != '', [errorMessage]); if (isError) { view = ( <> ); diff --git a/src/app/Shared/Services/Api.service.tsx b/src/app/Shared/Services/Api.service.tsx index 0583bb946..d689f23a8 100644 --- a/src/app/Shared/Services/Api.service.tsx +++ b/src/app/Shared/Services/Api.service.tsx @@ -36,7 +36,6 @@ import { EventProbe, EventProbesResponse, Recording, - AssetJwtResponse, EventTemplate, RuleResponse, ArchivedRecording,