Skip to content

Commit 57b1a03

Browse files
authored
Merge pull request #1060 from nervosnetwork/rc/v0.24.2
[ᚬmaster] Release v0.24.2
2 parents 86b66a2 + 258ebbe commit 57b1a03

File tree

24 files changed

+130
-216
lines changed

24 files changed

+130
-216
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## [0.24.2](https://github.com/nervosnetwork/neuron/compare/v0.24.1...v0.24.2) (2019-11-08)
2+
3+
4+
### Bug Fixes
5+
6+
* replace with empty string in input group rename witness ([5d59f3d](https://github.com/nervosnetwork/neuron/commit/5d59f3d))
7+
* skip get previous tx when cellbase ([41600ea](https://github.com/nervosnetwork/neuron/commit/41600ea))
8+
* skip get previous tx when cellbase in indexer ([7e8a578](https://github.com/nervosnetwork/neuron/commit/7e8a578))
9+
* skip the cellbase tx, not the first input ([aeeb464](https://github.com/nervosnetwork/neuron/commit/aeeb464))
10+
11+
12+
### Features
13+
14+
* Disable search history by amount ([9bdece6](https://github.com/nervosnetwork/neuron/commit/9bdece6))
15+
* remove skip data and type toggle ([879d227](https://github.com/nervosnetwork/neuron/commit/879d227))
16+
17+
18+
119
## [0.24.1](https://github.com/nervosnetwork/neuron/compare/v0.24.0...v0.24.1) (2019-11-07)
220

321

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"packages": [
33
"packages/*"
44
],
5-
"version": "0.24.1",
5+
"version": "0.24.2",
66
"npmClient": "yarn",
77
"useWorkspaces": true
88
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "neuron",
33
"productName": "Neuron",
44
"description": "CKB Neuron Wallet",
5-
"version": "0.24.1",
5+
"version": "0.24.2",
66
"private": true,
77
"author": {
88
"name": "Nervos Core Dev",

packages/neuron-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "neuron-ui",
3-
"version": "0.24.1",
3+
"version": "0.24.2",
44
"private": true,
55
"author": {
66
"name": "Nervos Core Dev",

packages/neuron-ui/src/components/GeneralSetting/index.tsx

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,8 @@
1-
import React, { useMemo } from 'react'
2-
import { Stack, Toggle } from 'office-ui-fabric-react'
3-
import { useTranslation } from 'react-i18next'
1+
import React from 'react'
2+
import { Stack } from 'office-ui-fabric-react'
43

5-
import { StateWithDispatch } from 'states/stateProvider/reducer'
6-
import { setSkipDataAndType } from 'states/stateProvider/actionCreators'
7-
8-
const GeneralSetting = ({
9-
settings: {
10-
general: { skipDataAndType },
11-
},
12-
dispatch,
13-
}: React.PropsWithoutRef<StateWithDispatch>) => {
14-
const [t] = useTranslation()
15-
const [onSetSkipDataAndType] = useMemo(() => [() => setSkipDataAndType(!skipDataAndType)(dispatch)], [
16-
dispatch,
17-
skipDataAndType,
18-
])
19-
return (
20-
<Stack tokens={{ childrenGap: 15 }}>
21-
<Toggle
22-
checked={skipDataAndType}
23-
label={t('settings.general.skip-data-and-type')}
24-
onText={t('common.toggle.on')}
25-
offText={t('common.toggle.off')}
26-
onChange={onSetSkipDataAndType}
27-
/>
28-
</Stack>
29-
)
4+
const GeneralSetting = () => {
5+
return <Stack tokens={{ childrenGap: 15 }} />
306
}
317

328
GeneralSetting.displayName = 'GeneralSetting'

packages/neuron-ui/src/services/remote/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ export * from './app'
22
export * from './wallets'
33
export * from './networks'
44
export * from './transactions'
5-
export * from './skipDataAndType'
65

76
const REMOTE_MODULE_NOT_FOUND =
87
'The remote module is not found, please make sure the UI is running inside the Electron App'

packages/neuron-ui/src/services/remote/skipDataAndType.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/neuron-ui/src/states/initStates/settings.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { wallets, networks } from 'services/localCache'
22

33
export const settingsState: State.Settings = {
4-
general: {
5-
skipDataAndType: false,
6-
},
4+
general: {},
75
networks: networks.load(),
86
wallets: wallets.load(),
97
}

packages/neuron-ui/src/states/stateProvider/actionCreators/app.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export const initAppState = () => (dispatch: StateDispatch, history: any) => {
2626
syncedBlockNumber = '',
2727
connectionStatus = false,
2828
codeHash = '',
29-
skipDataAndType = false,
3029
} = res.result
3130
dispatch({
3231
type: NeuronWalletActions.InitAppState,
@@ -39,7 +38,6 @@ export const initAppState = () => (dispatch: StateDispatch, history: any) => {
3938
syncedBlockNumber,
4039
connectionStatus,
4140
codeHash,
42-
skipDataAndType,
4341
},
4442
})
4543
if (!wallet) {

packages/neuron-ui/src/states/stateProvider/actionCreators/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,16 @@ import app from './app'
22
import wallets from './wallets'
33
import transactions from './transactions'
44
import settings from './settings'
5-
import skipDataAndType from './skipDataAndType'
65

76
export * from './app'
87
export * from './wallets'
98
export * from './transactions'
109
export * from './settings'
11-
export * from './skipDataAndType'
1210
export const actionCreators = {
1311
...app,
1412
...wallets,
1513
...transactions,
1614
...settings,
17-
...skipDataAndType,
1815
}
1916

2017
export default actionCreators

0 commit comments

Comments
 (0)