Skip to content

Commit

Permalink
Disable dev components (#1319)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentvan7 authored Nov 8, 2023
1 parent 8072c35 commit 287dc18
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/frontend/src/app/Util/Util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ export function cartesian<T>(...q: T[][]): T[][] {
* @returns boolean indicating if dev components should be shown
*/
export function shouldShowDevComponents() {
return (
process.env.NODE_ENV === 'development' || process.env.NX_SHOW_DEV_COMPONENTS
)
return false
//return (
// process.env.NODE_ENV === 'development' || process.env.NX_SHOW_DEV_COMPONENTS
//)
}

0 comments on commit 287dc18

Please sign in to comment.