add more focus on search
remove icon duplication minor ux / ui fix
This commit is contained in:
parent
8d8bcf303e
commit
ce889f2d3b
2 changed files with 6 additions and 8 deletions
|
@ -95,10 +95,6 @@ export const selectPageTitle = createSelector(
|
|||
return __("Help");
|
||||
case "developer":
|
||||
return __("Developer");
|
||||
case "search":
|
||||
return params.query
|
||||
? __("Search results for %s", params.query)
|
||||
: __("Search");
|
||||
case "show": {
|
||||
const parts = [lbryuri.normalize(params.uri)];
|
||||
// If the params has any keys other than "uri"
|
||||
|
@ -112,7 +108,10 @@ export const selectPageTitle = createSelector(
|
|||
case "published":
|
||||
return __("Publishes");
|
||||
case "discover":
|
||||
return __("Home");
|
||||
case "search":
|
||||
return params.query
|
||||
? __("Search results for %s", params.query)
|
||||
: __("Search");
|
||||
case false:
|
||||
case null:
|
||||
case "":
|
||||
|
|
|
@ -48,8 +48,6 @@ export const selectWunderBarIcon = createSelector(
|
|||
switch (page) {
|
||||
case "auth":
|
||||
return "icon-user";
|
||||
case "search":
|
||||
return "icon-search";
|
||||
case "settings":
|
||||
return "icon-gear";
|
||||
case "help":
|
||||
|
@ -81,7 +79,8 @@ export const selectWunderBarIcon = createSelector(
|
|||
case "developer":
|
||||
return "icon-code";
|
||||
case "discover":
|
||||
return "icon-home";
|
||||
case "search":
|
||||
return "icon-search";
|
||||
default:
|
||||
return "icon-file";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue