Companion add-on for Firefox Relay. Keep your email safe from hackers and trackers. Make an email alias with one click, and keep your address to yourself.
This PR addresses a possible migration issue where the profileID variable (saved in local storage) is missing. This can result in a broken/loading state in the popup. The fix here is to check if that variable is accessible during the init function. If it's missing, we prompt the user to re-login in to add it back correctly.
Summary
This PR addresses a possible migration issue where the
profileID
variable (saved in local storage) is missing. This can result in a broken/loading state in the popup. The fix here is to check if that variable is accessible during the init function. If it's missing, we prompt the user to re-login in to add it back correctly.Fixes:
Steps to reproduce
about:devtools-toolbox?id=private-relay%40firefox.com&type=extension
profileID
from local storageawait browser.storage.local.remove("profileID");
Screenshots
N/A