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
This commit is contained in:
Tom Moor
2017-05-21 23:02:53 -07:00
committed by GitHub
parent 87adccb816
commit 3353eb913a
5 changed files with 55 additions and 21 deletions

View File

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