1
0
mirror of https://github.com/kremalicious/blowfish.git synced 2024-12-28 15:47:52 +01:00

package updates

This commit is contained in:
Matthias Kretschmann 2019-05-23 00:25:20 +02:00
parent 498909a8f4
commit a5e7449398
Signed by: m
GPG Key ID: 606EEEF3C479A91F
5 changed files with 8 additions and 9 deletions

View File

@ -30,18 +30,18 @@
"react-pose": "^4.0.8" "react-pose": "^4.0.8"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.4.4", "@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4", "@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4", "@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.4", "@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0", "@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.4.4", "@babel/runtime": "^7.4.5",
"@svgr/webpack": "^4.2.0", "@svgr/webpack": "^4.2.0",
"babel-eslint": "^10.0.1", "babel-eslint": "^10.0.1",
"babel-loader": "^8.0.6", "babel-loader": "^8.0.6",
"copy-webpack-plugin": "^5.0.3", "copy-webpack-plugin": "^5.0.3",
"css-loader": "^2.1.1", "css-loader": "^2.1.1",
"electron": "^6.0.0-beta.3", "electron": "^6.0.0-beta.4",
"electron-builder": "^20.40.2", "electron-builder": "^20.40.2",
"electron-devtools-installer": "^2.2.4", "electron-devtools-installer": "^2.2.4",
"electron-store": "^3.2.0", "electron-store": "^3.2.0",
@ -55,7 +55,7 @@
"style-loader": "^0.23.1", "style-loader": "^0.23.1",
"stylelint": "^10.0.1", "stylelint": "^10.0.1",
"stylelint-config-standard": "^18.3.0", "stylelint-config-standard": "^18.3.0",
"webpack": "^4.31.0", "webpack": "^4.32.1",
"webpack-cli": "^3.3.2", "webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.3.1" "webpack-dev-server": "^3.3.1"
}, },

View File

@ -1,7 +1,7 @@
import React, { PureComponent } from 'react' import React, { PureComponent } from 'react'
import { AppContext } from '../store/createContext' import { AppContext } from '../store/createContext'
import Balance from './Balance' import Balance from './Balance'
import { prices } from '../config' import { prices } from '../../config'
const calculateTotalBalance = (accounts, currency) => { const calculateTotalBalance = (accounts, currency) => {
const balanceTotalArray = [] const balanceTotalArray = []

View File

@ -5,7 +5,7 @@ import { ipcRenderer } from 'electron'
import Store from 'electron-store' import Store from 'electron-store'
import { AppContext } from './createContext' import { AppContext } from './createContext'
import fetchData from '../utils/fetch' import fetchData from '../utils/fetch'
import { refreshInterval, prices, oceanTokenContract } from '../config' import { refreshInterval, prices, oceanTokenContract } from '../../config'
export default class AppProvider extends PureComponent { export default class AppProvider extends PureComponent {
static propTypes = { static propTypes = {
@ -38,7 +38,6 @@ export default class AppProvider extends PureComponent {
const newPrizes = await this.fetchAndSetPrices() const newPrizes = await this.fetchAndSetPrices()
this.setState({ prices: newPrizes }) this.setState({ prices: newPrizes })
ipcRenderer.send('prices-updated', newPrizes)
await this.setBalances() await this.setBalances()

View File

@ -4,7 +4,7 @@ const pkg = require('../package.json')
const buildMenu = require('./menu') const buildMenu = require('./menu')
const { buildTouchbar, updateTouchbar } = require('./touchbar') const { buildTouchbar, updateTouchbar } = require('./touchbar')
const { rgbaToHex } = require('./utils') const { rgbaToHex } = require('./utils')
const { prices } = require('./app/config') const { prices } = require('./config')
let mainWindow let mainWindow