Skip to content

Commit 74b0ba3

Browse files
TryingToImproveoshalygin
authored andcommitted
fix(withScriptsJs): Fix comment clarity
* Updates the comment to indicate that this dependency is not to used for server-side rendered components - Original author: @TryingToImprove - Original commits: 4aeefad, ded6de4
1 parent e463df3 commit 74b0ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/async/withScriptjs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default function withScriptjs(WrappedComponent) {
6060
this.setState({
6161
loadingState: LOADING_STATE_BEGIN,
6262
});
63-
// Don't load scriptjs as dependency since we want this module be used on server side.
63+
// Don't load scriptjs as a dependency since we do not want this module be used on server side.
6464
// eslint-disable-next-line global-require
6565
const scriptjs = require(`scriptjs`);
6666
const {

0 commit comments

Comments
 (0)