airswap / airswap-nft-marketplace

Reference AirSwap Marketplace Client
12 stars 4 forks source link

131: Added toast when indexers are down #132

Closed piersss closed 1 year ago

piersss commented 1 year ago

Description

Fixes #131

https://github.com/airswap/airswap-marketplace/assets/86911296/551219dc-d3f9-4b79-8168-137cb051e73e

Steps to test

In indexerSlice.ts change line 37 to:

urls: action.payload.map((url) => `${url}xxx`),` 

This way indexers will fail and failed toasts will get triggered.

piersss commented 1 year ago

Added "Unable to fetch listings" text to page.

Screenshot 2023-09-11 at 22 24 47 Screenshot 2023-09-11 at 22 24 34