Skip to content

Commit

Permalink
[test-studio] Remove delayed resolving of initial value template for …
Browse files Browse the repository at this point in the history
…author
  • Loading branch information
rexxars committed Nov 19, 2019
1 parent da27d00 commit 200fcfe
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions packages/test-studio/schemas/author.js
Expand Up @@ -100,18 +100,15 @@ export default {
}
],

initialValue: () =>
new Promise(resolve =>
setTimeout(resolve, 2500, {
name: 'Foo',
bestFriend: {_type: 'reference', _ref: 'foo-bar'},
image: {
_type: 'image',
asset: {
_ref: 'image-8dcc1391e06e4b4acbdc6bbf2e8c8588d537cbb8-4896x3264-jpg',
_type: 'reference'
}
}
})
)
initialValue: () => ({
name: 'Foo',
bestFriend: {_type: 'reference', _ref: 'foo-bar'},
image: {
_type: 'image',
asset: {
_ref: 'image-8dcc1391e06e4b4acbdc6bbf2e8c8588d537cbb8-4896x3264-jpg',
_type: 'reference'
}
}
})
}

0 comments on commit 200fcfe

Please sign in to comment.