apps/web: fix tbxVehicleTaxInYear addonBefore

This commit is contained in:
vchikalkin 2024-02-28 16:58:47 +03:00
parent ffaad142e8
commit a65202c653

View File

@ -332,7 +332,7 @@ const overrideRender: Partial<Record<keyof typeof map, RenderProps>> = {
const RenderedComponent = observer(() => {
const { $calculation } = useStore();
const { min, max } = $calculation.$values.getValue('irrInfo');
const { max, min } = $calculation.$values.getValue('irrInfo');
return (
<Container>
@ -370,7 +370,7 @@ const overrideRender: Partial<Record<keyof typeof map, RenderProps>> = {
<Element
{...props}
id={elementName}
addonBefore={isFetching && <LoadingOutlined spin rev="" />}
addonBefore={isFetching ? <LoadingOutlined spin rev="" /> : null}
/>
</Container>
</Tooltip>