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