ok
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user