This commit is contained in:
everythingonblack
2025-05-16 19:54:09 +07:00
parent da317f83c9
commit b726ae6919
5 changed files with 89 additions and 49 deletions

View File

@@ -394,14 +394,14 @@ function App() {
console.log(transaction_info); // Log the updated transaction_info
const depthh = transactionList.current.findIndex(
let depthh = transactionList.current.findIndex(
item => item.transactionId.toString() === transaction_info.toString()
);
if(depthh == 0 && transaction_info.toString() != '') depthh = 1;
setDepth(depthh);
console.log(transaction_info == response[0].transactionId)
// If transaction_info is an empty string, set the modal
if (transaction_info == '' || transaction_info == response[0].transactionId) return false;
if (transaction_info.toString() == '' || transaction_info.toString() == response[0].transactionId) return false;
else return true;
}