fbshipit-source-id: c71048dfea2a03cf83650b55aa9d1e463251920c
This commit is contained in:
@@ -7,8 +7,9 @@
|
||||
|
||||
import {remote} from 'electron';
|
||||
import type {Store} from '../reducers/index.js';
|
||||
import type Logger from '../fb-stubs/Logger.js';
|
||||
|
||||
export default (store: Store) => {
|
||||
export default (store: Store, logger: Logger) => {
|
||||
const currentWindow = remote.getCurrentWindow();
|
||||
currentWindow.on('focus', () =>
|
||||
store.dispatch({
|
||||
|
||||
Reference in New Issue
Block a user