Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
chore: Remove blocked-at npm package, setZoomFactor to 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
binarybaron committed Jun 12, 2024
1 parent 4e6fc19 commit 2e13126
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 18 deletions.
6 changes: 0 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.60",
"@reduxjs/toolkit": "^1.7.1",
"blocked-at": "^1.2.0",
"electron-redux": "2.0.0-alpha.8",
"electron-updater": "^5.3.0",
"electrum-cash": "^2.0.10",
Expand Down
11 changes: 0 additions & 11 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,6 @@ if (gotTheLock) {
app.quit();
}

if (isDevelopment) {
blocked(
(time, stack) => {
logger.trace({ time, stack }, `Main thread has been blocked`);
},
{
threshold: 250,
}
);
}

ipcMain.handle('stop-cli', stopCli);

ipcMain.handle('spawn-start-rpc', startRPC);
Expand Down
2 changes: 2 additions & 0 deletions src/renderer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
} from './api';
import logger from '../utils/logger';
import App from './components/App';
import { webFrame } from 'electron';

render(
<Provider store={store}>
Expand Down Expand Up @@ -55,3 +56,4 @@ async function fetchInitialData() {
}

fetchInitialData();
webFrame.setZoomFactor(1.2)

0 comments on commit 2e13126

Please sign in to comment.