From aa1c11f400a3661810027c01755db581cadfc23a Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Wed, 9 Sep 2015 15:55:30 -0700 Subject: [PATCH] tweak(sheet-container): No deferred calls to setState! Will fix perf issues in another patch (Sentry 1525) --- src/sheet-container.cjsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sheet-container.cjsx b/src/sheet-container.cjsx index 911ff8d55..3f0ef7bf0 100644 --- a/src/sheet-container.cjsx +++ b/src/sheet-container.cjsx @@ -92,7 +92,7 @@ class SheetContainer extends React.Component window.dispatchEvent(new Event('resize')) _onStoreChange: => - _.defer => @setState(@_getStateFromStores()) + @setState(@_getStateFromStores()) _getStateFromStores: => stack: WorkspaceStore.sheetStack()