1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-24 15:11:40 +00:00

set design create team modal

This commit is contained in:
Rokt33r
2015-10-11 18:11:08 +09:00
parent acdf61f7ab
commit 1690e6420f
20 changed files with 815 additions and 461 deletions

View File

@@ -21,9 +21,9 @@ function setPartialState (component, path, value) {
updateIn(component.state, path, value))
}
export default function linkState (path) {
export default function linkState (el, path) {
return {
value: getIn(this.state, path),
requestChange: setPartialState.bind(null, this, path)
value: getIn(el.state, path),
requestChange: setPartialState.bind(null, el, path)
}
}