Skip to content

Commit

Permalink
Merge branch 'fix-067-cleared-language'
Browse files Browse the repository at this point in the history
  • Loading branch information
EvitanRelta committed Jun 21, 2022
2 parents c04369e + 0b880db commit f0c5ad9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export default function App(): ReactElement {
}
getPersistedText().then((data) => {
if (data === undefined) return
// editor.commands.clearContent(false)
editor.commands.setContent(data.value, true)
})
// eslint-disable-next-line react-hooks/exhaustive-deps
Expand Down

0 comments on commit f0c5ad9

Please sign in to comment.