diff options
Diffstat (limited to 'subprojects/frontend/src/graph')
-rw-r--r-- | subprojects/frontend/src/graph/RelationName.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/frontend/src/graph/RelationName.tsx b/subprojects/frontend/src/graph/RelationName.tsx index ec26fb21..e651cb87 100644 --- a/subprojects/frontend/src/graph/RelationName.tsx +++ b/subprojects/frontend/src/graph/RelationName.tsx | |||
@@ -9,7 +9,7 @@ import { observer } from 'mobx-react-lite'; | |||
9 | 9 | ||
10 | import { RelationMetadata } from '../xtext/xtextServiceResults'; | 10 | import { RelationMetadata } from '../xtext/xtextServiceResults'; |
11 | 11 | ||
12 | const Error = styled('span', { | 12 | const ErrorPredicateName = styled('span', { |
13 | name: 'RelationName-Error', | 13 | name: 'RelationName-Error', |
14 | })(({ theme }) => ({ | 14 | })(({ theme }) => ({ |
15 | color: theme.palette.error.main, | 15 | color: theme.palette.error.main, |
@@ -36,7 +36,7 @@ const FormattedName = observer(function FormattedName({ | |||
36 | return <b>{name}</b>; | 36 | return <b>{name}</b>; |
37 | } | 37 | } |
38 | if (detail.type === 'predicate' && detail.error) { | 38 | if (detail.type === 'predicate' && detail.error) { |
39 | return <Error>{name}</Error>; | 39 | return <ErrorPredicateName>{name}</ErrorPredicateName>; |
40 | } | 40 | } |
41 | return name; | 41 | return name; |
42 | }); | 42 | }); |