f NotificationsList

This commit is contained in:
Felicio Mununga 2023-11-06 21:33:40 +01:00
parent a78a5b750a
commit cebc55df44
No known key found for this signature in database
GPG Key ID: C4736C7AEBA55BE5
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ export function NotificationsList() {
{notifications.map((notification) => {
if ('receipt' in notification) {
return notification.receipt.logs.map((log) => {
if (log.address !== votingContract.address) {
return
}
// this needs to be updated so it takes into account also interface of featuredVotingContract
const parsedLog = votingContract.interface.parseLog(log)