Skip to content

Commit

Permalink
[desk-tool] Pass initialValue to patch
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Feb 19, 2020
1 parent ba253ef commit ab61f08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const DocumentPaneProvider = withInitialValue((props: Props) => {

const onChange = React.useCallback(
patches => {
patch.execute(patches)
patch.execute(patches, props.initialValue)
},
[patch]
)
Expand Down

0 comments on commit ab61f08

Please sign in to comment.