commit 99de368c3bc620d781f34884847c506d2147830b
Author: Valerie Pomerleau
Date: Mon Dec 8 15:17:53 2025 -0800
fix(settings): Handle null Apollo cache reads safely
Because:
* Sentry reports type errors when GQL cache reads return null
This commit:
* Updates Apollo readQuery usage to handle null results safely
* Tightens Typescript typing for cache reads to avoid destructuring null
* Switches from `cache.readQuery` to `client.readQuery` for safer, supported cache access
* Removes unused getProfileInfo getter
Closes #FXA-12756