diff --git a/debug-ui/app/components/NavBar.tsx b/debug-ui/app/components/NavBar.tsx index b10403dc2..5f2d80139 100644 --- a/debug-ui/app/components/NavBar.tsx +++ b/debug-ui/app/components/NavBar.tsx @@ -44,7 +44,7 @@ const NavBar = (): ReactElement => { href="/panic-button" className="text-gray-200 hover:text-white transition-colors" > - Panic Button + Killswitch )} diff --git a/debug-ui/app/panic-button/page.tsx b/debug-ui/app/panic-button/page.tsx index 25c1b3d30..072ca8f6e 100644 --- a/debug-ui/app/panic-button/page.tsx +++ b/debug-ui/app/panic-button/page.tsx @@ -48,7 +48,7 @@ const PanicButton = (): ReactElement => { {connected ? loading ? 'Executing...' - : 'PANIC BUTTON' + : 'KILLSWITCH' : 'connect wallet to execute'} diff --git a/debug-ui/lib/killswitch.ts b/debug-ui/lib/killswitch.ts index 8df829f9a..944bf3de1 100644 --- a/debug-ui/lib/killswitch.ts +++ b/debug-ui/lib/killswitch.ts @@ -50,7 +50,7 @@ export const killswitch = async ( const oos = wrapper.openOrdersForMarket(marketPub); if (!oos || oos.length === 0) { console.log(`no oos exist for ${marketAddr} skipping...`); - return; + continue; } console.log(