trisacrypto / directory

TRISA implementation of the Global VASP Directory Service
https://vaspdirectory.net
MIT License
7 stars 5 forks source link

Add optional chaining to resolve undefined errors #1163

Closed daniellemaxwell closed 8 months ago

daniellemaxwell commented 8 months ago

Scope of changes

Adds optional chaining to the useFetchAttention hook and certificateService service to resolve undefined errors.

Fixes SC-24169 & SC-24170

Type of change

Acceptance criteria

Describe how reviewers can test this change to be sure that it works correctly. Add a checklist if possible

Author checklist

Reviewer(s) checklist