Skip to content

Commit

Permalink
[desk-tool] Mobile pane working on initial value
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristoffer Sivertsen authored and rexxars committed Oct 24, 2019
1 parent 61ff6a0 commit cbdf23a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@sanity/desk-tool/src/utils/withInitialValue.js
Expand Up @@ -94,10 +94,10 @@ export default function withInitialValue(Pane) {
}

const {isResolving, initialValue, templateChoices} = this.state
const title = options && options.type && `Creating new ${options.type}`
const title = options && options.type && `New ${options.type}`
if (templateChoices && templateChoices.length > 0) {
return (
<DefaultPane title={title}>
<DefaultPane {...this.props} title={title}>
<div className={styles.root}>
<CreateDocumentList
items={templateChoices.map(choice => ({
Expand Down

0 comments on commit cbdf23a

Please sign in to comment.