From 4fab7eac3f2e7d00336239b88d53ec439461aecb Mon Sep 17 00:00:00 2001 From: Tommy Verrall Date: Wed, 13 Nov 2024 10:56:19 +0100 Subject: [PATCH] temporarily disable playground and test my node in the wallet once we have time to fix these we will import these again --- .../src/pages/bonding/node-settings/NodeSettings.tsx | 10 +++++----- .../bonding/node-settings/node-settings.constant.tsx | 10 +++++++--- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/nym-wallet/src/pages/bonding/node-settings/NodeSettings.tsx b/nym-wallet/src/pages/bonding/node-settings/NodeSettings.tsx index dd86326130..bf7eb7a648 100644 --- a/nym-wallet/src/pages/bonding/node-settings/NodeSettings.tsx +++ b/nym-wallet/src/pages/bonding/node-settings/NodeSettings.tsx @@ -39,9 +39,9 @@ export const NodeSettings = () => { if (location.state === 'unbond') { setValue('Unbond'); } - if (location.state === 'test-node') { - setValue('Test my node'); - } + // if (location.state === 'test-node') { + // setValue('Test my node'); + // } }, [location]); const handleUnbond = async (fee?: FeeDetails) => { @@ -129,11 +129,11 @@ export const NodeSettings = () => { > {value === 'General' && bondedNode && } - {value === 'Test my node' && } + {/* {value === 'Test my node' && } */} {value === 'Unbond' && bondedNode && ( )} - {value === 'Playground' && bondedNode && } + {/* {value === 'Playground' && bondedNode && } */} {confirmationDetails && confirmationDetails.status === 'success' && ( { const navItems: NavItems[] = ['Unbond']; if (isNymNode(bondedNode)) { - // add these items to the beginning of the array "General", "Test my node", "Playground" - navItems.unshift('General', 'Test my node', 'Playground'); + // Add these items to the beginning of the array "General", "Test my node", "Playground" + // Temporarily removed , 'Test my node due to wasm issues which we need to fix + // 'Playground' due to freezing issues + navItems.unshift('General'); } return navItems; }; -export type NavItems = 'General' | 'Unbond' | 'Test my node' | 'Playground'; +// And these back in once fixed. +// 'Playground' | 'Test my node' include in array at a later point +export type NavItems = 'General' | 'Unbond' ;