mirror of
https://github.com/status-im/discover-dapps.git
synced 2025-02-18 13:26:44 +00:00
Set initalState for selectedCategory to EXCHANGES
This commit is contained in:
parent
2333adc407
commit
35b5d8abcf
@ -1,4 +1,5 @@
|
|||||||
import reducerUtil from '../../common/utils/reducer'
|
import reducerUtil from '../../common/utils/reducer'
|
||||||
|
import { EXCHANGES } from '../../common/data/categories'
|
||||||
|
|
||||||
const UPDATE_CATEGORY = 'UPDATE_CATEGORY'
|
const UPDATE_CATEGORY = 'UPDATE_CATEGORY'
|
||||||
|
|
||||||
@ -7,7 +8,7 @@ export const selectCategory = category => ({
|
|||||||
payload: category,
|
payload: category,
|
||||||
})
|
})
|
||||||
|
|
||||||
const initialState = null
|
const initialState = EXCHANGES
|
||||||
|
|
||||||
const categoryChange = (_, category) => category
|
const categoryChange = (_, category) => category
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user