mirror of
https://github.com/outline/outline.git
synced 2026-06-27 18:24:23 +03:00
3353eb913a
* 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}`;
|
|
}
|