Abde Laziz
Results
1
comments of
Abde Laziz
This worked for me ```js const res = fetch(apiUrl); toast.promise(res, { loading: 'Loading ...', success: (data) => { console.log(data); if (data.status === 500) throw new Error('server error'); return 'Everything went...