Skip to content

Commit

Permalink
Update docs/src/modules/components/DemoSandboxed.js
Browse files Browse the repository at this point in the history
Co-Authored-By: Minh Nguyen <[email protected]>
  • Loading branch information
eps1lon and NMinhNguyen authored Apr 22, 2020
1 parent 5c4ccb9 commit 7aaf279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/modules/components/DemoSandboxed.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function DemoFrame(props) {

React.useEffect(() => {
const document = frameRef.current.contentDocument;
// When we hydarte the iframe then the load event is already dispatched
// When we hydrate the iframe then the load event is already dispatched
// once the iframe markup is parsed (maybe later but the important part is
// that it happens before React can attach event listeners).
// We need to check the readyState of the document once the iframe is mounted
Expand Down

0 comments on commit 7aaf279

Please sign in to comment.