mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
refactor(docker/stacks): migrate table to react [EE-4705] (#9956)
This commit is contained in:
parent
c3d266931f
commit
c8a1f0fa77
43 changed files with 1127 additions and 492 deletions
|
@ -2,7 +2,7 @@ import { useEffect, useCallback, useState } from 'react';
|
|||
|
||||
export function useRepeater(
|
||||
refreshRate: number,
|
||||
onRefresh?: () => Promise<void>
|
||||
onRefresh?: () => Promise<void> | void
|
||||
) {
|
||||
const [intervalId, setIntervalId] = useState<NodeJS.Timeout | null>(null);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue