@bytebrand/fe-ui-core 4.2.134 → 4.2.135

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core",
3
- "version": "4.2.134",
3
+ "version": "4.2.135",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -84,7 +84,7 @@ const ManageCookieModal = ({ toggleModal, handleSentryInit } : IManageCookieModa
84
84
  toggleModal();
85
85
  };
86
86
 
87
- const onHandleChangeInnerSwitchAnalytics = (cookiesFromCategory: [key: string], isChecked: boolean) => {
87
+ const onHandleChangeInnerSwitchAnalytics = (cookiesFromCategory: any, isChecked: boolean) => {
88
88
  const updatedSwitches = { ...analyticsSwitches };
89
89
  for (const item of cookiesFromCategory) {
90
90
  updatedSwitches[item] = !isChecked
@@ -92,7 +92,7 @@ const ManageCookieModal = ({ toggleModal, handleSentryInit } : IManageCookieModa
92
92
  setAnalyticsSwitches(updatedSwitches);
93
93
  };
94
94
 
95
- const onHandleChangeInnerSwitchMarketing = (cookiesFromCategory: [key: string], isChecked: boolean) => {
95
+ const onHandleChangeInnerSwitchMarketing = (cookiesFromCategory: any, isChecked: boolean) => {
96
96
  const updatedSwitches = { ...marketingSwitches };
97
97
  for (const item of cookiesFromCategory) {
98
98
  updatedSwitches[item] = !isChecked