kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/715/head
rodzic
a19a084310
commit
d66f8ec11c
|
@ -37,7 +37,7 @@ export function MarketplaceIndex() {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((err: any) => {
|
.catch((err: any) => {
|
||||||
void toastError('Failed to fetch projects')
|
void toastError('Failed to fetch public projects')
|
||||||
throw err
|
throw err
|
||||||
}),
|
}),
|
||||||
getNextPageParam: (lastGroup) => lastGroup?.nextOffset,
|
getNextPageParam: (lastGroup) => lastGroup?.nextOffset,
|
||||||
|
|
|
@ -25,7 +25,9 @@ export function MarketplaceProjectIndex({
|
||||||
populate: ['lastPublishedDeployment']
|
populate: ['lastPublishedDeployment']
|
||||||
})
|
})
|
||||||
.catch((err: any) => {
|
.catch((err: any) => {
|
||||||
void toastError(`Failed to fetch project "${projectIdentifier}"`)
|
void toastError(
|
||||||
|
`Failed to fetch public project "${projectIdentifier}"`
|
||||||
|
)
|
||||||
throw err
|
throw err
|
||||||
}),
|
}),
|
||||||
enabled: !!ctx
|
enabled: !!ctx
|
||||||
|
|
Ładowanie…
Reference in New Issue