mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-06 07:20:29 +03:00
refectored navigation
This commit is contained in:
parent
d3506acd94
commit
2848417cf5
4 changed files with 40 additions and 49 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import appDispatcher from '../dispatcher';
|
||||
import cons from '../state/cons';
|
||||
|
||||
function handleTabChange(tabId) {
|
||||
function changeTab(tabId) {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.navigation.CHANGE_TAB,
|
||||
tabId,
|
||||
|
|
@ -71,7 +71,7 @@ function openReadReceipts(roomId, eventId) {
|
|||
}
|
||||
|
||||
export {
|
||||
handleTabChange,
|
||||
changeTab,
|
||||
selectRoom,
|
||||
togglePeopleDrawer,
|
||||
openInviteList,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue