@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/esm/index.js CHANGED
@@ -189,19 +189,15 @@ const NoQuotesMessage = ({ type }) => {
189
189
  const usePathGroups = (insuranceType) => {
190
190
  const { appConfigState } = useStoreAppConfig();
191
191
  const insurancePathGroup = {
192
- [`${InsuranceTypes.Car}`]: [
193
- { name: 'Car', link: `/${appConfigState.localIndex}/car` },
194
- ],
195
- [`${InsuranceTypes.Home}`]: [
196
- { name: 'Home', link: `/${appConfigState.localIndex}/home` },
197
- ],
192
+ [`${InsuranceTypes.Car}`]: [{ name: 'Car', link: `/${appConfigState.localIndex}/car` }],
193
+ [`${InsuranceTypes.Home}`]: [{ name: 'Home', link: `/${appConfigState.localIndex}/home` }],
198
194
  // @todo: will be used in future
199
195
  // [`${InsuranceTypes.Life}`]: [{ name: 'Life', link: `/${appConfigState.localIndex}/life` }],
200
196
  };
201
197
  const externalPathGroup = [
202
- { name: 'Car', link: 'https://quote.mychoice.ca/insurance/car' },
203
- { name: 'Home', link: 'https://quote.mychoice.ca/insurance/home' },
204
- { name: 'Life', link: 'https://quote.mychoice.ca/insurance/life' },
198
+ { name: 'Car', link: '/insurance/car' },
199
+ { name: 'Home', link: '/insurance/home' },
200
+ { name: 'Life', link: '/insurance/life' },
205
201
  { name: 'Learn', link: 'https://www.mychoice.ca/blog/' },
206
202
  ];
207
203
  // @todo: use in future.