Skip to content

Commit

Permalink
remove unnecessary webContents check
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Dec 19, 2024
1 parent f194dd4 commit 10910aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/todos/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export default class TodoStore extends FeatureStore {
const { authToken } = this.stores.user;
const { isDarkThemeActive } = this.stores.ui;
const { locale } = this.stores.app;
if (!this.webContents) return;

await sleep(ms('2s'));
await ipcRenderer.send(IPC.TODOS_HOST_CHANNEL, {
action: 'todos:configure',
Expand Down

0 comments on commit 10910aa

Please sign in to comment.