* ESC should go back from search using direct onKeyDown here as react-keydown does not trigger within an input * Addressable search urls
14 lines
207 B
JavaScript
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}`;
|
|
}
|