mirror of
https://github.com/lingble/twenty.git
synced 2025-11-01 13:17:57 +00:00
Resolved Typescript console errors (#7408)
## Description - This PR addresses the issues- - #7404 - #7359 - and builds on the existing logic from PR #7360 - Handled the 4 Ts console errors --------- Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
@@ -66,7 +66,7 @@ const StyledInputsContainer = styled.div`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const RELATION_TYPE_OPTIONS = Object.entries(RELATION_TYPES)
|
const RELATION_TYPE_OPTIONS = Object.entries(RELATION_TYPES)
|
||||||
.filter(([value]) => 'ONE_TO_ONE' !== value)
|
.filter(([value]) => 'ONE_TO_ONE' !== value && 'MANY_TO_MANY' !== value)
|
||||||
.map(([value, { label, Icon }]) => ({
|
.map(([value, { label, Icon }]) => ({
|
||||||
label,
|
label,
|
||||||
value: value as RelationType,
|
value: value as RelationType,
|
||||||
|
|||||||
Reference in New Issue
Block a user