Components: remove link elements from map-values
This commit is contained in:
parent
b62e31e6ef
commit
d11f2bb8d7
@ -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;
|
||||
};
|
||||
|
||||
|
||||
@ -148,9 +148,6 @@ const elementsToValues = wrapElementsMap({
|
||||
|
||||
/** Link Elements */
|
||||
linkDownloadKp: 'kpUrl',
|
||||
linkLeadUrl: 'leadUrl',
|
||||
linkOpportunityUrl: 'opportunityUrl',
|
||||
linkQuoteUrl: 'quoteUrl',
|
||||
});
|
||||
|
||||
type ElementsValues = typeof elementsToValues;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user