equal
deleted
inserted
replaced
374 key: category.key |
374 key: category.key |
375 } |
375 } |
376 }) |
376 }) |
377 |
377 |
378 Object.assign(category, { |
378 Object.assign(category, { |
379 text: currentSelectionText |
379 text: currentSelectionText, |
|
380 selection: { |
|
381 start: currentSelectionStart, |
|
382 end: currentSelectionEnd, |
|
383 }, |
380 }); |
384 }); |
381 categories = categories.push(category); |
385 categories = categories.push(category); |
382 |
386 |
383 this.setState({ |
387 this.setState({ |
384 state: transform.apply(), |
388 state: transform.apply(), |