fix(scheduler): use equals: null filter for endDate to satisfy Prisma where syntax and stop log spam

This commit is contained in:
Radosław Gierwiało
2025-11-30 13:50:48 +01:00
parent 621511fccf
commit 752d65035a
4 changed files with 11 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
import { useEffect, useState } from 'react';
import { useEffect, useState, Fragment } from 'react';
import { adminAPI } from '../../services/api';
import { RefreshCcw, Play, ChevronDown, ChevronRight } from 'lucide-react';
@@ -117,8 +117,8 @@ export default function MatchingRunsSection({ slug }) {
</tr>
) : (
runs.map((run) => (
<>
<tr key={run.id} id={`run-${run.id}`}>
<Fragment key={run.id}>
<tr id={`run-${run.id}`}>
<td className="px-3 py-2 text-sm text-gray-700">
<button
onClick={() => toggleViewPairs(run.id)}
@@ -173,7 +173,7 @@ export default function MatchingRunsSection({ slug }) {
</td>
</tr>
)}
</>
</Fragment>
))
)}
</tbody>