Skip to content

Commit

Permalink
fix cond
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelle committed Mar 18, 2024
1 parent 0a64993 commit 157b1ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/excalidraw/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2489,7 +2489,7 @@ class App extends React.Component<AppProps, AppState> {

this.onChangeEmitter.clear();

if (import.meta.env.mode === ENV.PRODUCTION) {
if (import.meta.env.PROD) {
this.history = new History();
this.library = new Library(this);
this.actionManager = new ActionManager(
Expand Down

0 comments on commit 157b1ae

Please sign in to comment.