on master help sign in
network-keys: use L1 tx if spawn proxy on L2
8f31b71yosoyubik
src/views/UrbitOS/NetworkingKeys.js+2−2
@@ -143,7 +143,7 @@ export default function UrbitOSNetworkingKeys({
143 const { pop } = useLocalRouter();
143 const { pop } = useLocalRouter();
144 const { pointCursor } = usePointCursor();
144 const { pointCursor } = usePointCursor();
145 const { getDetails } = usePointCache();
145 const { getDetails } = usePointCache();
146− const { currentL2 } = useRollerStore();
146+ const { currentL2, currentL2Spawn } = useRollerStore();
147 const { configureNetworkingKeys, getPendingTransactions } = useRoller();
147 const { configureNetworkingKeys, getPendingTransactions } = useRoller();
148 const [breach, setBreach] = useState(false);
148 const [breach, setBreach] = useState(false);
149
149
@@ -321,7 +321,7 @@ export default function UrbitOSNetworkingKeys({
321 </>
321 </>
322 )}
322 )}
323
323
324− {currentL2 ? (
324+ {currentL2 && !currentL2Spawn ? (
325 <Grid.Item
325 <Grid.Item
326 as={Button}
326 as={Button}
327 full
327 full