Skip to content
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

Merged
merged 7 commits into from Feb 3, 2019
Merged

refactor network and add cells component with ipc module #25

merged 7 commits into from Feb 3, 2019

Conversation

Keith-CY
Copy link
Collaborator

@Keith-CY Keith-CY commented Feb 2, 2019

  1. refactor network component, removed functional methods cause they should be placed in context
  2. add cells with ipc context #29
  3. set max line length to 120, our screens are much more wider than before.

@Keith-CY Keith-CY requested a review from ashchan February 2, 2019 18:48
@ashchan ashchan merged commit 14b6799 into nervosnetwork:develop Feb 3, 2019
})

ipcMain.on(MSG.GET_CELLS_BY_TYPE_HASH, (e: Electron.Event, ...args: string[]) => {
console.log('here')
Copy link
Contributor

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)
Copy link
Contributor

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.

xiaoluSF pushed a commit to xiaoluSF/neuron that referenced this pull request Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants