remove try/catch as the error is already prevented inside resize

This commit is contained in:
Bruno Windels 2018-12-11 10:51:14 +01:00
parent a8f9a74920
commit 3040f2d2e2

View file

@ -166,9 +166,7 @@ module.exports = React.createClass({
Object.entries(this.subListSizes).forEach(([id, size]) => {
const handle = this.resizer.forHandleWithId(id);
if (handle) {
try {
handle.resize(size);
} catch(_e) {}
handle.resize(size);
}
});