Skip to content

Commit

Permalink
disable protect modal in development
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrans committed Jun 25, 2024
1 parent 51a1a30 commit 08b0136
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/components/UI/DrawerView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,11 @@ class DrawerView extends PureComponent {
};

renderProtectModal = () => {
const NODE_ENV = 'NODE_ENV';
if (process.env[NODE_ENV] === 'development') {
return null;
}

const colors = this.context.colors || mockTheme.colors;
const styles = createStyles(colors);

Expand Down

0 comments on commit 08b0136

Please sign in to comment.