diff options
Diffstat (limited to 'makima/frontend/src/routes')
| -rw-r--r-- | makima/frontend/src/routes/daemons.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/makima/frontend/src/routes/daemons.tsx b/makima/frontend/src/routes/daemons.tsx index f551543..90a476d 100644 --- a/makima/frontend/src/routes/daemons.tsx +++ b/makima/frontend/src/routes/daemons.tsx @@ -10,7 +10,7 @@ import { type Daemon, type DaemonListResponse, type DaemonPlatform, - type RestartDaemonResponse, + } from "../lib/api"; // ============================================================================= @@ -79,7 +79,7 @@ export default function DaemonsPage() { try { setRestartingDaemonId(id); setDaemonsError(null); - const _response: RestartDaemonResponse = await restartDaemon(id); + await restartDaemon(id); // Daemon will restart, so refresh the list after a short delay setTimeout(() => { loadDaemons(); |
