revert nostr libary

This commit is contained in:
koalasat
2025-04-29 10:52:14 +02:00
parent 1f94ee24fe
commit 259759010c
2 changed files with 5 additions and 2 deletions

View File

@ -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);
}

View File

@ -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