fix check
This commit is contained in:
@@ -116,7 +116,7 @@ export function useCreateStarterPackMutation({
|
|||||||
},
|
},
|
||||||
onSuccess: async data => {
|
onSuccess: async data => {
|
||||||
await whenAppViewReady(agent, data.uri, v => {
|
await whenAppViewReady(agent, data.uri, v => {
|
||||||
return typeof v?.uri === 'string'
|
return typeof v?.data.starterPack.uri === 'string'
|
||||||
})
|
})
|
||||||
await invalidateActorStarterPacksQuery({
|
await invalidateActorStarterPacksQuery({
|
||||||
queryClient,
|
queryClient,
|
||||||
|
|||||||
Reference in New Issue
Block a user