From 15b34a521c7b11e656105561209838d35d4fc609 Mon Sep 17 00:00:00 2001 From: Petr Vecera Date: Tue, 21 Nov 2023 11:57:11 +0100 Subject: [PATCH] Fix the eslint build issue --- src/apis/cohdb-api.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apis/cohdb-api.ts b/src/apis/cohdb-api.ts index 7725d790..3c465151 100644 --- a/src/apis/cohdb-api.ts +++ b/src/apis/cohdb-api.ts @@ -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; }