on master help sign in
ops-ux: fix 'Use my address' button behavior

This change hides the button when the TX is ready for sending.

commit27fa6e77d87fcf6e30e0f9f0a8a1e8275051c6be authortomholford <tomholford@users.noreply.github.com> dateMon 15 Nov 2021, 23:48 (5 years ago) parent2751c6a
1 file changed+5−3
src/views/Point/IssueChild.tsx+5−3
src/views/Point/IssueChild.tsx+5−3
@@ -226,9 +226,11 @@ export default function IssueChild() {
226226 label="Ethereum Address"
227227 disabled={inputsLocked}
228228 />
229− <Box>
230− <AddressButton>Use my address</AddressButton>
231− </Box>
229+ {isDefaultState && (
230+ <Box>
231+ <AddressButton>Use my address</AddressButton>
232+ </Box>
233+ )}
232234 </>
233235 )}
234236