on master help sign in
address straggling review comments
23b1066Liam Fitzgerald
src/components/InlineEthereumTransaction.js+1−1
@@ -191,7 +191,7 @@ export default function InlineEthereumTransaction({
191 );
191 );
192
192
193 const gasInfo = useMemo(() => {
193 const gasInfo = useMemo(() => {
194− const extra = numTxs === 1 ? '' : `* ${numTxs} TXN`;
194+ const extra = numTxs === 1 ? '' : `* ${numTxs} txs`;
195 return showGasDetails
195 return showGasDetails
196 ? `${gasPrice} Gwei * ${gasLimit} ${extra} = ${maxCost} ETH`
196 ? `${gasPrice} Gwei * ${gasLimit} ${extra} = ${maxCost} ETH`
197 : `${maxCost} ETH`;
197 : `${maxCost} ETH`;
src/store/hosting.js+1−1
@@ -9,7 +9,7 @@ import { useNetwork } from 'store/network';
9export const HostingContext = createContext(null);
9export const HostingContext = createContext(null);
10
10
11const HOSTING_DETAILS = {
11const HOSTING_DETAILS = {
12− DEV: { url: '', domain: 'liam.tlon.network', disabled: false },
12+ DEV: { url: '', domain: 'liam.tlon.network', disabled: true },
13 MAINNET: { url: '', domain: '', disabled: true },
13 MAINNET: { url: '', domain: '', disabled: true },
14};
14};
15
15
src/views/UrbitID/Home.js+6−2
@@ -99,8 +99,12 @@ export default function UrbitIDHome() {
99 disabledDetail={
99 disabledDetail={
100 <B className="wrap ws-normal"> · Ownership key required</B>
100 <B className="wrap ws-normal"> · Ownership key required</B>
101 }
101 }
102+ detail={
103+ isMasterTicket
102− detail="Reset Master Key and all other keys">
104+ ? 'Reset Master Key and all other keys'
103− Reset Keys
105+ : 'Transfer to Master Ticket, resetting all keys'
106+ }>
107+ {isMasterTicket ? 'Reset Keys' : 'Transfer to Master Ticket'}
104 </Grid.Item>
108 </Grid.Item>
105
109
106 <Grid.Divider />
110 <Grid.Divider />
src/views/UrbitOS/Home.js+2−5
@@ -35,10 +35,7 @@ export default function UrbitOSHome({ manualNetworkSeed }) {
35 const [showKeys, setShowKeys] = useState(false);
35 const [showKeys, setShowKeys] = useState(false);
36
36
37 const showSponsor = azimuth.getPointSize(point) !== azimuth.PointSize.Galaxy;
37 const showSponsor = azimuth.getPointSize(point) !== azimuth.PointSize.Galaxy;
38− const toggleShowKeys = useCallback(() => setShowKeys(!showKeys), [
38+ const toggleShowKeys = useCallback(() => setShowKeys(s => !s), [setShowKeys]);
39− setShowKeys,
40− showKeys,
41− ]);
42
39
43 const goNetworkingKeys = useCallback(() => push(names.NETWORKING_KEYS), [
40 const goNetworkingKeys = useCallback(() => push(names.NETWORKING_KEYS), [
44 names,
41 names,
@@ -80,7 +77,7 @@ export default function UrbitOSHome({ manualNetworkSeed }) {
80 <Grid.Item
77 <Grid.Item
81 full
78 full
82 as={ForwardButton}
79 as={ForwardButton}
83− accessory={showKeys ? '▲' : '▼'}
80+ accessory={showKeys ? '▼' : '▲'}
84 onClick={toggleShowKeys}>
81 onClick={toggleShowKeys}>
85 View Networking Keys
82 View Networking Keys
86 </Grid.Item>
83 </Grid.Item>