Skip to content

Commit

Permalink
refactor(neuron-wallet): Delete Router class
Browse files Browse the repository at this point in the history
  • Loading branch information
ashchan committed Aug 5, 2019
1 parent 87e8fcf commit df65c6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
7 changes: 0 additions & 7 deletions packages/neuron-wallet/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { debounceTime } from 'rxjs/operators'

import i18n from 'utils/i18n'
import { updateApplicationMenu } from 'utils/application-menu'
import Router from 'router'
import WindowManager from 'models/window-manager'
import createMainWindow from 'startup/create-main-window'
import createSyncBlockTask from 'startup/sync-block-task/create'
Expand All @@ -15,12 +14,6 @@ import dataUpdateSubject from 'models/subjects/data-update'

const walletsService = WalletsService.getInstance()

const router = new Router()

Object.defineProperty(app, 'router', {
value: router,
})

const openWindow = () => {
if (!WindowManager.mainWindow) {
WindowManager.mainWindow = createMainWindow()
Expand Down
18 changes: 0 additions & 18 deletions packages/neuron-wallet/src/router.ts

This file was deleted.

0 comments on commit df65c6d

Please sign in to comment.