imageConfig query refactor front #117
|
@ -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) {
|
||||
|
||||
console.error(err);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
y si haces this.imageUrl = [config]?.url? que pasa?
No funciona eso. Ahí hice un cambio y lo unifiqué en una línea sola