on master help sign in
network-keys: use L1 tx if spawn proxy on L2
commit8f31b71751f8b8b8b2ebab1e908858ec3e590f98 authoryosoyubik <yosoyubik@gmail.com> dateMon 4 Oct 2021, 12:32 (5 years ago) parent7c224bc
1 file changed+2−2
src/views/UrbitOS/NetworkingKeys.js+2−2
src/views/UrbitOS/NetworkingKeys.js+2−2
@@ -143,7 +143,7 @@ export default function UrbitOSNetworkingKeys({
143143 const { pop } = useLocalRouter();
144144 const { pointCursor } = usePointCursor();
145145 const { getDetails } = usePointCache();
146− const { currentL2 } = useRollerStore();
146+ const { currentL2, currentL2Spawn } = useRollerStore();
147147 const { configureNetworkingKeys, getPendingTransactions } = useRoller();
148148 const [breach, setBreach] = useState(false);
149149
@@ -321,7 +321,7 @@ export default function UrbitOSNetworkingKeys({
321321 </>
322322 )}
323323
324− {currentL2 ? (
324+ {currentL2 && !currentL2Spawn ? (
325325 <Grid.Item
326326 as={Button}
327327 full