@fctc/widget-logic 3.10.6 → 3.10.7

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.
package/dist/hooks.js CHANGED
@@ -568,7 +568,6 @@ var useCompany = ({ service }) => {
568
568
  (0, import_react7.useEffect)(() => {
569
569
  if (current_company_id) {
570
570
  const companyIDs = [current_company_id];
571
- setAllowCompanies([...companyIDs]);
572
571
  setCompanies(companyIDs);
573
572
  }
574
573
  }, [current_company_id]);
package/dist/hooks.mjs CHANGED
@@ -549,7 +549,6 @@ var useCompany = ({ service }) => {
549
549
  useEffect4(() => {
550
550
  if (current_company_id) {
551
551
  const companyIDs = [current_company_id];
552
- setAllowCompanies([...companyIDs]);
553
552
  setCompanies(companyIDs);
554
553
  }
555
554
  }, [current_company_id]);
package/dist/index.js CHANGED
@@ -4618,7 +4618,6 @@ var useCompany = ({ service }) => {
4618
4618
  (0, import_react7.useEffect)(() => {
4619
4619
  if (current_company_id) {
4620
4620
  const companyIDs = [current_company_id];
4621
- setAllowCompanies([...companyIDs]);
4622
4621
  setCompanies(companyIDs);
4623
4622
  }
4624
4623
  }, [current_company_id]);
package/dist/index.mjs CHANGED
@@ -4693,7 +4693,6 @@ var useCompany = ({ service }) => {
4693
4693
  useEffect4(() => {
4694
4694
  if (current_company_id) {
4695
4695
  const companyIDs = [current_company_id];
4696
- setAllowCompanies([...companyIDs]);
4697
4696
  setCompanies(companyIDs);
4698
4697
  }
4699
4698
  }, [current_company_id]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/widget-logic",
3
- "version": "3.10.6",
3
+ "version": "3.10.7",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -74,7 +74,7 @@
74
74
  "test": "jest"
75
75
  },
76
76
  "dependencies": {
77
- "@fctc/interface-logic": "^3.5.0",
77
+ "@fctc/interface-logic": "^3.5.1",
78
78
  "@headlessui/react": "^2.2.6",
79
79
  "@tanstack/react-query": "^5.84.0",
80
80
  "i18next": "^25.3.2",