hi-tm 0.16.9 → 0.17.1
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.
|
@@ -154,11 +154,6 @@ const HeaderLayout = ({ appVersion, branchName, userFirstName, sidebarHandler, u
|
|
|
154
154
|
const handleLanguageModalShow = () => {
|
|
155
155
|
setIsOpenLanguageModal(!isOpenLanguageModal);
|
|
156
156
|
};
|
|
157
|
-
// useEffect((): void => {
|
|
158
|
-
// if (userBranchesData !== undefined) {
|
|
159
|
-
// setBranchNameSelected(userBranchesData[0]);
|
|
160
|
-
// }
|
|
161
|
-
// }, [userBranchesData]);
|
|
162
157
|
(0, react_1.useEffect)(() => {
|
|
163
158
|
if (userBranchesData !== undefined && userBranchesData.length > 0) {
|
|
164
159
|
setBranchNameSelected(userBranchesData[0]);
|
|
@@ -220,8 +215,6 @@ const HeaderLayout = ({ appVersion, branchName, userFirstName, sidebarHandler, u
|
|
|
220
215
|
};
|
|
221
216
|
}, []);
|
|
222
217
|
const baseUrlCDN = cdnURL !== undefined ? cdnURL : process.env.NEXT_PUBLIC_IMAGE_BASE_URL;
|
|
223
|
-
console.log("branchNameSelected", branchNameSelected);
|
|
224
|
-
console.log("branchNameSelectedNameee", branchNameSelected.name);
|
|
225
218
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
226
219
|
react_1.default.createElement("header", { style: { zIndex: 100 }, className: "hidden h-[50px] w-full flex-row items-center justify-between bg-back-ground-color-primary p-1 xl:flex fixed top-0" },
|
|
227
220
|
react_1.default.createElement(link_1.default, { href: "/", className: "flex w-auto flex-row-reverse items-center justify-end" },
|