Skip to content

Commit

Permalink
fix (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
a7madgamal authored Mar 27, 2020
1 parent 8d0993a commit dd931f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/store/branches/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { okk } from '../../helpers/helpers'
// @ts-ignore
import electronTimber from 'electron-timber'
import { IPC_REFRESH_PRS, IPC_REFRESH_GIT } from '../../constants'
import { mainWindow } from '../../plugins/windows'
import { ipcRenderer } from 'electron'
const logger = electronTimber.create({ name: 'branches/actions' })

export const fetchGit = (): ThunkAction<
Expand Down Expand Up @@ -92,9 +92,9 @@ export const fetchGit = (): ThunkAction<

const repo = await getGitRepoFromId(oldRemoteBranches[i].repoId)
await repo.pull()

mainWindow.webContents.send(IPC_REFRESH_PRS)
mainWindow.webContents.send(IPC_REFRESH_GIT)
debugger
ipcRenderer.send(IPC_REFRESH_PRS)
ipcRenderer.send(IPC_REFRESH_GIT)

showNotification(
{
Expand Down

0 comments on commit dd931f8

Please sign in to comment.