From 02e3b8861e58cdf822623db13be14d572725590f Mon Sep 17 00:00:00 2001 From: Ben Kremer Date: Thu, 10 Feb 2022 17:08:22 +0100 Subject: [PATCH] docs: method annotations --- dapps/react-dapp-v2/src/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dapps/react-dapp-v2/src/App.tsx b/dapps/react-dapp-v2/src/App.tsx index bcabc89..b67cc2e 100644 --- a/dapps/react-dapp-v2/src/App.tsx +++ b/dapps/react-dapp-v2/src/App.tsx @@ -124,6 +124,7 @@ export default function App() { } }; + // Toggle between displaying testnet or mainnet chains as selection options. const toggleTestnets = () => { const nextIsTestnetState = !isTestnet; setIsTestnet(nextIsTestnetState); @@ -138,6 +139,7 @@ export default function App() { } }; + // Renders the appropriate model for the given request that is currently in-flight. const renderModal = () => { switch (modal) { case "pairing":