imageConfig query refactor front #117

Merged
jsegarra merged 4 commits from wbuezas/hedera-web-mindshore:feature/imageConfig-query into beta 2025-02-27 19:28:39 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit f4dbf95095 - Show all commits

View File

@ -63,8 +63,7 @@ export const useAppStore = defineStore('hedera', {
if (!data) return;
const [config] = data;
this.imageUrl = config?.url;
this.imageUrl = data[0]?.url;
} catch (err) {
Review

y si haces this.imageUrl = [config]?.url? que pasa?

y si haces this.imageUrl = [config]?.url? que pasa?
Review

No funciona eso. Ahí hice un cambio y lo unifiqué en una línea sola

No funciona eso. Ahí hice un cambio y lo unifiqué en una línea sola
console.error(err);
}