Skip to content

Commit

Permalink
Dont use react devtools
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinBrett committed Oct 17, 2024
1 parent b3f3435 commit ef5087b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ const nextConfig = {
default:
throw new Error(`Not found ${mod}`);
}
}),
new webpack.DefinePlugin({
__REACT_DEVTOOLS_GLOBAL_HOOK__: "({ isDisabled: true })",
})
);

Expand Down

0 comments on commit ef5087b

Please sign in to comment.