mirror of
https://github.com/lingble/twenty.git
synced 2025-10-28 19:32:28 +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)
|
||||
.filter(([value]) => 'ONE_TO_ONE' !== value)
|
||||
.filter(([value]) => 'ONE_TO_ONE' !== value && 'MANY_TO_MANY' !== value)
|
||||
.map(([value, { label, Icon }]) => ({
|
||||
label,
|
||||
value: value as RelationType,
|
||||
|
||||
Reference in New Issue
Block a user