mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-06 00:37:23 +00:00
address testing warnings
This commit is contained in:
1 parent
61fc4957e0
commit
b66a31bc18
4 files changed
+3
-7
No files matched your search
@@ -400,7 +400,7 @@ export function CashuWallet() {
|
|||||||
mintQuoteUnsubscribeRef.current = null;
|
mintQuoteUnsubscribeRef.current = null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}, []);
|
}, [mintQuoteUnsubscribeRef]);
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// RENDER
|
// RENDER
|
||||||
|
|||||||
@@ -22,4 +22,3 @@ export function useCashuContext(): UseCashuReturn {
|
|||||||
|
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -89,7 +89,7 @@ export function useMintManager({
|
|||||||
description: err instanceof Error ? err.message : 'Unknown error',
|
description: err instanceof Error ? err.message : 'Unknown error',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, [mintUrl, coco, mints, toast]);
|
}, [mintUrl, coco, mints]);
|
||||||
|
|
||||||
// Show remove confirmation modal
|
// Show remove confirmation modal
|
||||||
const handleRemoveMintClick = useCallback((mint: CashuMint) => {
|
const handleRemoveMintClick = useCallback((mint: CashuMint) => {
|
||||||
@@ -142,7 +142,6 @@ export function useMintManager({
|
|||||||
activeMintUrl,
|
activeMintUrl,
|
||||||
handleSetActiveMint,
|
handleSetActiveMint,
|
||||||
repositories,
|
repositories,
|
||||||
toast,
|
|
||||||
refreshMints,
|
refreshMints,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@@ -201,7 +200,7 @@ export function useMintManager({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[repositories, toast]
|
[repositories]
|
||||||
);
|
);
|
||||||
|
|
||||||
// Auto-select first mint when mints change, or add default mint if none exist
|
// Auto-select first mint when mints change, or add default mint if none exist
|
||||||
|
|||||||
@@ -343,8 +343,6 @@ export function useWalletTransactions({
|
|||||||
lightningAddressInput,
|
lightningAddressInput,
|
||||||
lightningAddressAmount,
|
lightningAddressAmount,
|
||||||
pendingLightningAddress,
|
pendingLightningAddress,
|
||||||
pendingInvoice,
|
|
||||||
decodedInvoiceAmount,
|
|
||||||
activeMintUrl,
|
activeMintUrl,
|
||||||
toast,
|
toast,
|
||||||
getEncodedToken,
|
getEncodedToken,
|
||||||
|
|||||||
Reference in new issue
Block a user