New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor network and add cells component with ipc module #25
Conversation
Keith-CY
commented
Feb 2, 2019
•
edited
edited
- refactor network component, removed functional methods cause they should be placed in context
- add cells with ipc context #29
- set max line length to 120, our screens are much more wider than before.
Refactor network and add cells
}) | ||
|
||
ipcMain.on(MSG.GET_CELLS_BY_TYPE_HASH, (e: Electron.Event, ...args: string[]) => { | ||
console.log('here') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary and annoying logout.
}, | ||
} | ||
|
||
const chainCtx = createContext(chain) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let use full word for context
in var name.
From React's official document, it's better to name this var as: ChainContext
.