diff --git a/vocodes/src/App.tsx b/vocodes/src/App.tsx index e0d8543d98..ed5fae8b3b 100644 --- a/vocodes/src/App.tsx +++ b/vocodes/src/App.tsx @@ -13,7 +13,7 @@ import { TtsInferenceJob, TtsInferenceJobStateResponsePayload } from './jobs/Tts import { W2lInferenceJob, W2lInferenceJobStateResponsePayload } from './jobs/W2lInferenceJobs'; import { TtsModelUploadJob, TtsModelUploadJobStateResponsePayload } from './jobs/TtsModelUploadJobs'; import { W2lTemplateUploadJob, W2lTemplateUploadJobStateResponsePayload } from './jobs/W2lTemplateUploadJobs'; -import { JobState, jobStateCanChange } from './jobs/JobStates'; +import { jobStateCanChange } from './jobs/JobStates'; enum MigrationMode { NEW_VOCODES, diff --git a/vocodes/src/v2/profile/Profile_TtsInferenceResultListFc.tsx b/vocodes/src/v2/profile/Profile_TtsInferenceResultListFc.tsx index 4af033d78a..84c1cc7290 100644 --- a/vocodes/src/v2/profile/Profile_TtsInferenceResultListFc.tsx +++ b/vocodes/src/v2/profile/Profile_TtsInferenceResultListFc.tsx @@ -112,8 +112,8 @@ function ProfileTtsInferenceResultsListFc(props: Props) { // Disable if there is no "next" or "previous" cursor. // However, let the buttosn show up if there are no results (empty payload) // to get unstuck. Come up with a better fix for this. - let prevDisabled = !previousCursor && rows.length != 0; - let nextDisabled = !nextCursor && rows.length != 0; + let prevDisabled = !previousCursor && rows.length !== 0; + let nextDisabled = !nextCursor && rows.length !== 0; return (