This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
outline/frontend/utils/routeHelpers.js
Tom Moor 3353eb913a Search improves (#67)
* ESC should go back from search
using direct onKeyDown here as react-keydown does not trigger within an input

* Addressable search urls
2017-05-21 23:02:53 -07:00

14 lines
207 B
JavaScript

// @flow
export function homeUrl() {
return '/dashboard';
}
export function newCollectionUrl() {
return '/collections/new';
}
export function searchUrl(query: string) {
return `/search/${query}`;
}