@mychoice/mychoice-sdk-modules 2.1.61 → 2.1.62
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/cjs/index.js +5 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +5 -9
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -199,19 +199,15 @@ const NoQuotesMessage = ({ type }) => {
|
|
|
199
199
|
const usePathGroups = (insuranceType) => {
|
|
200
200
|
const { appConfigState } = mychoiceSdkStore.useStoreAppConfig();
|
|
201
201
|
const insurancePathGroup = {
|
|
202
|
-
[`${mychoiceSdkComponents.InsuranceTypes.Car}`]: [
|
|
203
|
-
|
|
204
|
-
],
|
|
205
|
-
[`${mychoiceSdkComponents.InsuranceTypes.Home}`]: [
|
|
206
|
-
{ name: 'Home', link: `/${appConfigState.localIndex}/home` },
|
|
207
|
-
],
|
|
202
|
+
[`${mychoiceSdkComponents.InsuranceTypes.Car}`]: [{ name: 'Car', link: `/${appConfigState.localIndex}/car` }],
|
|
203
|
+
[`${mychoiceSdkComponents.InsuranceTypes.Home}`]: [{ name: 'Home', link: `/${appConfigState.localIndex}/home` }],
|
|
208
204
|
// @todo: will be used in future
|
|
209
205
|
// [`${InsuranceTypes.Life}`]: [{ name: 'Life', link: `/${appConfigState.localIndex}/life` }],
|
|
210
206
|
};
|
|
211
207
|
const externalPathGroup = [
|
|
212
|
-
{ name: 'Car', link: '
|
|
213
|
-
{ name: 'Home', link: '
|
|
214
|
-
{ name: 'Life', link: '
|
|
208
|
+
{ name: 'Car', link: '/insurance/car' },
|
|
209
|
+
{ name: 'Home', link: '/insurance/home' },
|
|
210
|
+
{ name: 'Life', link: '/insurance/life' },
|
|
215
211
|
{ name: 'Learn', link: 'https://www.mychoice.ca/blog/' },
|
|
216
212
|
];
|
|
217
213
|
// @todo: use in future.
|