Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
levivilet committed Aug 27, 2024
1 parent 5e21ad4 commit b3aaf1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/parts/CommandState/CommandState.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const state = {
const state = {
commands: Object.create(null),
}

export const registerCommand = (key, fn) => {
const registerCommand = (key, fn) => {
state.commands[key] = fn
}

Expand Down
1 change: 0 additions & 1 deletion src/parts/IpcChildType/IpcChildType.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ export const NodeWorker = 1
export const NodeForkedProcess = 2
export const ElectronUtilityProcess = 3
export const ElectronMessagePort = 4
export const NodeMessagePort = 5
export const WebSocket = 6

export const Auto = () => {
Expand Down

0 comments on commit b3aaf1c

Please sign in to comment.