remove try/catch as the error is already prevented inside resize
parent
a8f9a74920
commit
3040f2d2e2
|
@ -166,9 +166,7 @@ module.exports = React.createClass({
|
||||||
Object.entries(this.subListSizes).forEach(([id, size]) => {
|
Object.entries(this.subListSizes).forEach(([id, size]) => {
|
||||||
const handle = this.resizer.forHandleWithId(id);
|
const handle = this.resizer.forHandleWithId(id);
|
||||||
if (handle) {
|
if (handle) {
|
||||||
try {
|
|
||||||
handle.resize(size);
|
handle.resize(size);
|
||||||
} catch(_e) {}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue