import { browserHistory } from 'react-router'

// TODO: replace this with Link navigation via react-router.

export const goTo = (route) => {
  browserHistory.push(route)
}

export const goToHome = () => {
  goTo('/tab/')
}

export const goToLogin = () => {
  goTo('/tab/auth/login/')
}

export const goToSettings = () => {
  goTo('/tab/settings/widgets/')
}

export const goToSettingsSection = (section) => {
  goTo(`/tab/settings/${section}/`)
}

export const goToDonate = () => {
  goTo('/tab/donate/')
}

export const goToDashboard = () => {
  goTo('/tab/')
}

export const goToRetrievePassword = () => {
  goTo('/tab/auth/recovery/')
}

export const goToStats = () => {
  // TODO
}

export const goToInviteFriends = () => {
  // TODO
}

import { browserHistory } from 'react-router'

// TODO: replace this with Link navigation via react-router.

export const goTo = (route) => {
  browserHistory.push(route)
}

export const goToHome = () => {
  goTo('/tab/')
}

export const goToLogin = () => {
  goTo('/tab/auth/login/')
}

export const goToSettings = () => {
  goTo('/tab/settings/widgets/')
}

export const goToDonate = () => {
  goTo('/tab/donate/')
}

export const goToDashboard = () => {
  goTo('/tab/')
}

export const goToRetrievePassword = () => {
  goTo('/tab/auth/recovery/')
}

export const goToStats = () => {
  // TODO
}

export const goToInviteFriends = () => {
  // TODO
}

Remove unused navigation.