docs: method annotations
This commit is contained in:
parent
bb744c48c5
commit
02e3b8861e
@ -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":
|
||||||
|
Loading…
Reference in New Issue
Block a user