Removing SidebarToggleButton, moving trigger to thumb-friendly buttom-right
This commit is contained in:
@ -54,8 +54,12 @@ export function lazyLoading(start){
|
||||
}
|
||||
|
||||
export function toggleSidebar(new_state = 'toggle'){
|
||||
var action = { type: 'TOGGLE_SIDEBAR' }
|
||||
if (new_state != 'toggle' ) action.new_state = new_state
|
||||
var action = {
|
||||
type: 'TOGGLE_SIDEBAR'
|
||||
}
|
||||
if (new_state != 'toggle'){
|
||||
action.new_state = new_state
|
||||
}
|
||||
return action
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user