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

pull/21833/head
Bruno Windels 2018-12-11 10:51:14 +01:00
parent a8f9a74920
commit 3040f2d2e2
1 changed files with 1 additions and 3 deletions

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);
}
});