diff --git a/web/src/tabs/AdminTab.tsx b/web/src/tabs/AdminTab.tsx index 0058421..8b2245b 100644 --- a/web/src/tabs/AdminTab.tsx +++ b/web/src/tabs/AdminTab.tsx @@ -17,7 +17,7 @@ import { fetchDynamicConfigItems, upsertDynamicConfigItems } from '../lib/dynami import { getPlatformAccessToken } from '../lib/authSession'; import { createRequestId } from '../../../shared/request-id.js'; import { tradingRuntime } from '../lib/runtime'; -import { Button } from '../components/ui/Primitives'; +import { Button, Input } from '../components/ui/Primitives'; interface AdminTabProps { botState: BotState; @@ -846,20 +846,22 @@ export const AdminTab = ({ botState, socket }: AdminTabProps) => {

State Snapshots

Persistent sync of bot state to Supabase

- +
@@ -869,13 +871,14 @@ export const AdminTab = ({ botState, socket }: AdminTabProps) => {

Minimum time between DB writes ({Math.round(dbSyncInterval / 60000)}m)

- setDbSyncInterval(parseInt(e.target.value))} + controlSize="sm" className="w-32 accent-cyan-500" />