Skip to content

Commit

Permalink
chore: fix type check issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tthvo committed Sep 8, 2024
1 parent 4cf839f commit 520b96b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/Recordings/Filters/DatetimeFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export interface DateTimeRange {
to?: Date;
}

export const filterRecordingByDatetime = (recordings?: ActiveRecording[], filters?: DateTimeRange[]) => {
export const filterRecordingByDatetime = (recordings: ActiveRecording[], filters?: DateTimeRange[]) => {
if (!recordings?.length || !filters?.length) {
return recordings;
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/Recordings/Filters/DurationFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { DURATION_INPUT_MAXLENGTH } from './const';

export const CONTINUOUS_INDICATOR = 'continuous';

export const filterRecordingByDuration = (recordings?: ActiveRecording[], filters?: DurationRange[]) => {
export const filterRecordingByDuration = (recordings: ActiveRecording[], filters?: DurationRange[]) => {
if (!recordings?.length || !filters?.length) {
return recordings;
}
Expand Down

0 comments on commit 520b96b

Please sign in to comment.