mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-17 16:23:13 +00:00
revert nostr libary
This commit is contained in:
@ -30,6 +30,9 @@ const CancelButton = ({
|
||||
const noConfirmation =
|
||||
Boolean(order?.is_maker && [0, 1, 2].includes(order?.status)) ||
|
||||
Boolean(order?.is_taker && order?.status === 3);
|
||||
const noBond =
|
||||
Boolean(order?.is_maker && order?.status === 0) ||
|
||||
Boolean(order?.is_taker && order?.status === 3);
|
||||
|
||||
return (
|
||||
<Box>
|
||||
@ -48,7 +51,7 @@ const CancelButton = ({
|
||||
variant='outlined'
|
||||
color='secondary'
|
||||
onClick={
|
||||
noConfirmation
|
||||
noBond
|
||||
? () => {
|
||||
setOpenCancelWarning(true);
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ drf-spectacular==0.28.0
|
||||
drf-spectacular-sidecar==2024.12.1
|
||||
django-cors-headers==4.6.0
|
||||
base91==1.0.1
|
||||
nostr-sdk==0.41.0
|
||||
nostr-sdk==0.35.1
|
||||
pygeohash==1.2.0
|
||||
asgiref == 3.8.1
|
||||
secp256k1
|
Reference in New Issue
Block a user