Add placeholder if getSecretFor returns null
mirrorkeydev opened this issue · 0 comments
mirrorkeydev commented
There's a TODO in the codebase that says:
getSecretFor('javascript-maps-api').then((key) => {
// TODO: If the key returns null, we should show a placeholder div with error text.
Basically, we need to signal to the user that something is wrong and the map is unavailable.