Skip to content

Commit

Permalink
Fix the eslint build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
petrvecera committed Nov 21, 2023
1 parent 0a7f85e commit 15b34a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/apis/cohdb-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ export interface ProcessedReplayData {

const RECORDS_PER_REPLAYS_PAGE = 25;

const ProcessReplaysData = (data: ReplayAPIResponse | void): ProcessedReplayData | null => {
const ProcessReplaysData = (
data: ReplayAPIResponse | void | null,
): ProcessedReplayData | null => {
if (!data) {
return null;
}
Expand Down

0 comments on commit 15b34a5

Please sign in to comment.