@ludo.ninja/components 2.1.20 → 2.1.21
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.
|
@@ -4,7 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
const link_1 = __importDefault(require("next/link"));
|
|
8
7
|
const header_1 = require("@ludo.ninja/ui/build/components/header");
|
|
9
8
|
const headerExperienceLabel_1 = __importDefault(require("../components/headerExperienceLabel"));
|
|
10
9
|
const headerUserPic_1 = __importDefault(require("../components/headerUserPic"));
|
|
@@ -28,7 +27,7 @@ const HeaderSearch = () => {
|
|
|
28
27
|
}, slots: {
|
|
29
28
|
headerExpLabel: ((0, jsx_runtime_1.jsx)(headerExperienceLabel_1.default, { userId: getUser?.userId || '' })),
|
|
30
29
|
headerUserPick: (0, jsx_runtime_1.jsx)(headerUserPic_1.default, { userId: getUser?.userId || '' }),
|
|
31
|
-
logoLinkComponent: ({ children }) => (0, jsx_runtime_1.jsx)(
|
|
30
|
+
logoLinkComponent: ({ children }) => (0, jsx_runtime_1.jsx)("a", { href: ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"], children: children }),
|
|
32
31
|
searchInput: ({ setInputFocused }) => {
|
|
33
32
|
// Todo seacrh pages, hide search input from header
|
|
34
33
|
return isProd() ? undefined : ((0, jsx_runtime_1.jsx)(searchSimpleInput_1.default, { onFocusHandler: setInputFocused }));
|