Skip to content

Commit

Permalink
fix: use renamed components
Browse files Browse the repository at this point in the history
  • Loading branch information
Devessier committed Dec 16, 2024
1 parent a8e8ef1 commit f35ff7e
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { StyledFormFieldInputContainer } from '@/object-record/record-field/form-types/components/StyledFormFieldInputContainer';
import { StyledFormFieldInputInputContainer } from '@/object-record/record-field/form-types/components/StyledFormFieldInputInputContainer';
import { StyledFormFieldInputRowContainer } from '@/object-record/record-field/form-types/components/StyledFormFieldInputRowContainer';
import { FormFieldInputContainer } from '@/object-record/record-field/form-types/components/FormFieldInputContainer';
import { FormFieldInputInputContainer } from '@/object-record/record-field/form-types/components/FormFieldInputInputContainer';
import { FormFieldInputRowContainer } from '@/object-record/record-field/form-types/components/FormFieldInputRowContainer';
import { VariableChip } from '@/object-record/record-field/form-types/components/VariableChip';
import { VariablePickerComponent } from '@/object-record/record-field/form-types/types/VariablePickerComponent';
import { DateInput } from '@/ui/field/input/components/DateInput';
Expand All @@ -23,7 +23,7 @@ import {
} from 'react';
import { isDefined, Nullable, TEXT_INPUT_STYLE } from 'twenty-ui';

const StyledInputContainer = styled(StyledFormFieldInputInputContainer)`
const StyledInputContainer = styled(FormFieldInputInputContainer)`
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 0px;
Expand Down Expand Up @@ -282,10 +282,10 @@ export const FormDateFieldInput = ({
};

return (
<StyledFormFieldInputContainer>
<FormFieldInputContainer>
{label ? <InputLabel>{label}</InputLabel> : null}

<StyledFormFieldInputRowContainer>
<FormFieldInputRowContainer>
<StyledInputContainer
ref={datePickerWrapperRef}
hasRightElement={isDefined(VariablePicker)}
Expand Down Expand Up @@ -335,7 +335,7 @@ export const FormDateFieldInput = ({
onVariableSelect={handleVariableTagInsert}
/>
) : null}
</StyledFormFieldInputRowContainer>
</StyledFormFieldInputContainer>
</FormFieldInputRowContainer>
</FormFieldInputContainer>
);
};

0 comments on commit f35ff7e

Please sign in to comment.