mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
Fix fn and bump frontend packages (#57)
* chore(deps): update frontend dependencies to latest versions * fix: update reconnectTimer type and adjust tsconfig paths for consistency * fix: add toast to dependencies in FindingsPage component * fix: add toast to dependencies in FindingsPage component * fix: update language maturity metrics and improve Go validation handling * fix: update CHANGELOG with recent enhancements and dependency bumps * fix: format reconnectTimer initialization for improved readability
This commit is contained in:
parent
281699faae
commit
832533a8cd
15 changed files with 1210 additions and 1334 deletions
|
|
@ -43,7 +43,9 @@ export function SSEProvider({ children }: { children: ReactNode }) {
|
|||
const [scanProgress, setScanProgress] = useState<ScanProgress | null>(null);
|
||||
const [isScanRunning, setIsScanRunning] = useState(false);
|
||||
const esRef = useRef<EventSource | null>(null);
|
||||
const reconnectTimer = useRef<ReturnType<typeof setTimeout>>();
|
||||
const reconnectTimer = useRef<ReturnType<typeof setTimeout> | undefined>(
|
||||
undefined,
|
||||
);
|
||||
|
||||
const connect = useCallback(() => {
|
||||
if (esRef.current) {
|
||||
|
|
|
|||
|
|
@ -465,7 +465,7 @@ export function FindingsPage() {
|
|||
},
|
||||
);
|
||||
},
|
||||
[addSuppression],
|
||||
[addSuppression, toast],
|
||||
);
|
||||
|
||||
// ── Sort handler ──
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue