Components: remove link elements from map-values

This commit is contained in:
Chika 2022-05-30 10:42:17 +03:00
parent b62e31e6ef
commit d11f2bb8d7
2 changed files with 1 additions and 5 deletions

View File

@ -2,11 +2,10 @@ import { observer } from 'mobx-react-lite';
import type { FC } from 'react';
import { useValue } from 'stores/calculation/values/hooks';
import type { Values } from 'stores/calculation/values/types';
import type { Elements } from '../config/map-values';
import type { ElementsProps } from '../types/elements-props';
type BuilderProps = {
elementName: Elements;
elementName: keyof ElementsProps;
valueName: Values;
};

View File

@ -148,9 +148,6 @@ const elementsToValues = wrapElementsMap({
/** Link Elements */
linkDownloadKp: 'kpUrl',
linkLeadUrl: 'leadUrl',
linkOpportunityUrl: 'opportunityUrl',
linkQuoteUrl: 'quoteUrl',
});
type ElementsValues = typeof elementsToValues;