Skip to content

Commit

Permalink
Disable warning notices
Browse files Browse the repository at this point in the history
  • Loading branch information
Tug committed Sep 27, 2019
1 parent 81168f5 commit fb6db57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export class RootComponent extends React.Component {
}

export function registerApp() {
// Disable require circle warnings showing up in the app (they will still be visible in the console)
YellowBox.ignoreWarnings( [ 'Require cycle:' ] );
// Disable warnings as they disrupt the user experience in dev mode
console.disableYellowBox = true;

gutenbergSetup();

Expand Down

0 comments on commit fb6db57

Please sign in to comment.