docs: method annotations

This commit is contained in:
Ben Kremer 2022-02-10 17:08:22 +01:00
parent bb744c48c5
commit 02e3b8861e

View File

@ -124,6 +124,7 @@ export default function App() {
} }
}; };
// Toggle between displaying testnet or mainnet chains as selection options.
const toggleTestnets = () => { const toggleTestnets = () => {
const nextIsTestnetState = !isTestnet; const nextIsTestnetState = !isTestnet;
setIsTestnet(nextIsTestnetState); 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 = () => { const renderModal = () => {
switch (modal) { switch (modal) {
case "pairing": case "pairing":