@ludo.ninja/components 2.3.50 → 2.3.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,7 +34,7 @@ const HeaderSearch = ({ showXP = true }) => {
34
34
  logoLinkComponent: ({ children }) => ((0, jsx_runtime_1.jsx)("a", { href: ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE][isProd() ? "profile" : "app"], children: children })),
35
35
  searchInput: ({ setInputFocused }) => {
36
36
  // Todo seacrh pages, hide search input from header
37
- return isProd() ? undefined : (0, jsx_runtime_1.jsx)(searchSimpleInput_1.default, { onFocusHandler: setInputFocused });
37
+ return (0, jsx_runtime_1.jsx)(searchSimpleInput_1.default, { onFocusHandler: setInputFocused });
38
38
  },
39
39
  }, isSearchStyles: true, isActivatedTheme: true }));
40
40
  };
@@ -82,12 +82,12 @@ const useSidebarData = () => {
82
82
  ];
83
83
  }
84
84
  return [
85
- // {
86
- // href: `${ludoDomains[NEXT_PUBLIC_ENV_VALUE as TEnvValue]["app"]}/leaderboards`,
87
- // title: "Leaderboards",
88
- // icon: <LeaderboardsIcon />,
89
- // isExternalUrl: false,
90
- // },
85
+ {
86
+ href: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"]}/trends`,
87
+ title: "Trends",
88
+ icon: (0, jsx_runtime_1.jsx)(icons_1.LeaderboardsIcon, {}),
89
+ isExternalUrl: false,
90
+ },
91
91
  ...(isAuthorized
92
92
  ? [
93
93
  {
@@ -96,12 +96,6 @@ const useSidebarData = () => {
96
96
  icon: (0, jsx_runtime_1.jsx)(icons_1.RewardsIcon, {}),
97
97
  isExternalUrl: false,
98
98
  },
99
- // {
100
- // href: `${ludoDomains[NEXT_PUBLIC_ENV_VALUE as TEnvValue]["app"]}/leaderboards`,
101
- // title: "Leaderboards",
102
- // icon: <LeaderboardsIcon />,
103
- // isExternalUrl: false,
104
- // },
105
99
  {
106
100
  href: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["account"]}/referrals`,
107
101
  title: "Referral Dashboard",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/components",
3
- "version": "2.3.50",
3
+ "version": "2.3.51",
4
4
  "private": false,
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",