mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-11 02:30:21 +08:00
tweak(sheet-container): No deferred calls to setState! Will fix perf issues in another patch (Sentry 1525)
This commit is contained in:
parent
6f152530d6
commit
aa1c11f400
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class SheetContainer extends React.Component
|
|||
window.dispatchEvent(new Event('resize'))
|
||||
|
||||
_onStoreChange: =>
|
||||
_.defer => @setState(@_getStateFromStores())
|
||||
@setState(@_getStateFromStores())
|
||||
|
||||
_getStateFromStores: =>
|
||||
stack: WorkspaceStore.sheetStack()
|
||||
|
|
Loading…
Reference in a new issue