Composition-api: fix: fetch typo

Created on 15 Feb 2021  路  1Comment  路  Source: nuxt-community/composition-api

hi @danielroe please see

"@nuxtjs/auth-next": "5.0.0-1612791489.a5d8c28",
"@nuxtjs/composition-api": "^0.20.0",

fetch return void (error for destructuring - fetchState fetch etc..)

小薪懈屑芯泻 褝泻褉邪薪邪 2021-02-15 胁 11 15 21

const { fetch, fetchState } = useFetch(async () => {

v0.20
小薪懈屑芯泻 褝泻褉邪薪邪 2021-02-15 胁 11 20 34

v0.19
小薪懈屑芯泻 褝泻褉邪薪邪 2021-02-15 胁 11 36 58

maybe this problem line
https://github.com/nuxt-community/composition-api/blob/796935704492b641f952681fa6bd8e8fe1575571/src/fetch.ts#L304

bug

Most helpful comment

@reslear Really appreciate this - should now be fixed in @nuxtjs/[email protected]. 鉂わ笍

>All comments

@reslear Really appreciate this - should now be fixed in @nuxtjs/[email protected]. 鉂わ笍

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lewebsimple picture lewebsimple  路  7Comments

Quineone picture Quineone  路  5Comments

JoeyYoung1997 picture JoeyYoung1997  路  7Comments

posva picture posva  路  3Comments

theartkod picture theartkod  路  3Comments