Skip to content

Commit

Permalink
Resolved Typescript console errors (#7408)
Browse files Browse the repository at this point in the history
## 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 <[email protected]>
  • Loading branch information
harshit078 and FelixMalfait authored Oct 3, 2024
1 parent da69317 commit 3cd24d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3cd24d5

Please sign in to comment.