1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Merge pull request #160 from tejado/master

Fix of storage unlink in preference popup
This commit is contained in:
Junyoung Choi
2016-10-22 16:50:47 +09:00
committed by GitHub

View File

@@ -300,10 +300,10 @@ class StorageItem extends React.Component {
})
if (index === 0) {
let { storage, dispatch } = this.props
let { storage } = this.props
dataApi.removeStorage(storage.key)
.then(() => {
dispatch({
store.dispatch({
type: 'REMOVE_STORAGE',
storageKey: storage.key
})