Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
jooy2 committed Oct 30, 2023
1 parent 1f1bb8e commit 394aeb5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/main/index.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ import installExtension, {
REDUX_DEVTOOLS,
} from 'electron-extension-installer';

installExtension(REACT_DEVELOPER_TOOLS, {
const commonExtensionOptions = {
loadExtensionOptions: {
allowFileAccess: true,
},
});
installExtension(REDUX_DEVTOOLS, {
loadExtensionOptions: {
allowFileAccess: true,
},
});
};

installExtension(REACT_DEVELOPER_TOOLS, commonExtensionOptions);
installExtension(REDUX_DEVTOOLS, commonExtensionOptions);

0 comments on commit 394aeb5

Please sign in to comment.