googlemaps / googlemaps/react-wrapper

status is always "success" on invalid API Key

未关闭
#623 3 条评论 0 个 reaction 已指派 1 人 已被 @wangela 认领 在 GitHub 查看
status: will not fix
主要语言
TypeScript
星标
381
派生
50
PR 合并指标
30 天内没有已合并 PR

描述

I do have the following code example. The API key is not valid. I expect this component to get an ERROR status in case the API key is invalid. But what I get is a SUCCESS status.

```js
{
console.log('STATUS: ' + status);

return

;
}}/>
```

For me, it looks like a bug. Or is this behavior wanted?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。