hi-tm 0.16.6 → 0.16.8

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.
@@ -161,10 +161,11 @@ const HeaderLayout = ({ appVersion, branchName, userFirstName, sidebarHandler, u
161
161
  // }, [userBranchesData]);
162
162
  (0, react_1.useEffect)(() => {
163
163
  if (userBranchesData !== undefined && userBranchesData.length > 0) {
164
- setBranchNameSelected(userBranchesData[0]); // فقط در بارگذاری اولیه
164
+ setBranchNameSelected(userBranchesData[0]);
165
165
  }
166
- }, []); // فقط یک بار در بارگذاری اولیه اجرا شود
166
+ }, []);
167
167
  const selectItemBranchHandler = (branch) => {
168
+ console.log("branch", branch);
168
169
  setBranchNameSelected(branch);
169
170
  selectBranchHandler(branch);
170
171
  setIsOpenModalBranches(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hi-tm",
3
- "version": "0.16.6",
3
+ "version": "0.16.8",
4
4
  "styles": "dist/styles/globals.css",
5
5
  "main": "dist/index.js",
6
6
  "exports": {