Skip to content

Commit

Permalink
[desk-tool] Wrap EditorPane and use document id as key to force reload (
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge authored and rexxars committed Nov 19, 2019
1 parent c5183f6 commit 3c74f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@sanity/desk-tool/src/pane/Pane.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import ListPane from './ListPane'
const paneMap = {
list: ListPane,
documentList: DocumentsListPane,
document: EditorPane,
document: props => <EditorPane key={props.options.id} {...props} />,
component: UserComponentPane
}

Expand Down

0 comments on commit 3c74f6d

Please sign in to comment.