mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-01 17:06:23 +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
5535ec43d1
commit
e14e462f62
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…
Add table
Reference in a new issue