Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Disable client-side debugMode
Browse files Browse the repository at this point in the history
  • Loading branch information
rtsao authored and fusion-bot[bot] committed May 21, 2018
1 parent cc4bfcf commit 0f4bd5d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ const plugin =
});
}
ctx.element = (
<StyletronProvider
value={engine}
debugMode={__DEV__ ? 'ssr' : void 0}
>
<StyletronProvider value={engine}>
<LegacyProvider value={engine}>{ctx.element}</LegacyProvider>
</StyletronProvider>
);
Expand Down

0 comments on commit 0f4bd5d

Please sign in to comment.