diff --git a/src/index.html b/src/index.html index 18cacb7..3316294 100644 --- a/src/index.html +++ b/src/index.html @@ -1,17 +1,22 @@ - - - - Stencil Component Starter + + + + Stencil Component Starter - - - - - - - - - + + + + + + + diff --git a/src/services/previsao-ondas.ts b/src/services/previsao-ondas.ts index e40342f..64c983a 100644 --- a/src/services/previsao-ondas.ts +++ b/src/services/previsao-ondas.ts @@ -16,7 +16,7 @@ class PrevisaoOndasService { public async getPrevisoes(cidade: String) { const response = await fetch(`${this.url}/onda/cidade/${cidade}`); const data = await response.json(); - return data.estado.dias; + return data.dias; } }