Skip to content

Commit

Permalink
Fix: Correct access to context
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Nov 15, 2016
1 parent 37ac446 commit d0646ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rsg-components/Playground/Playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default class Playground extends Component {
code,
});

const { previewDelay } = context.config;
const { previewDelay } = this.context.config;

if (previewDelay) {
// if previewDelay is enabled debounce the code
Expand Down

0 comments on commit d0646ae

Please sign in to comment.