Skip to content

Commit eeb6ca0

Browse files
committed
Get rid of unnecessary type assertion
1 parent d6878cb commit eeb6ca0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/webapp/app/pages/annotationPage/AnnotatedAlterations.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ const getColumns = (
4747
...getDefaultColumnDefinition(TABLE_COLUMN_KEY.DESCRIPTION),
4848
accessor(d: BiologicalVariant) {
4949
return useMutationEffectForGermline
50-
? ({
50+
? {
5151
abstracts: d.mutationEffectAbstracts,
5252
pmids: d.mutationEffectPmids,
53-
} as Citations)
54-
: ({
53+
}
54+
: {
5555
abstracts: d.pathogenicAbstracts,
5656
pmids: d.pathogenicPmids,
57-
} as Citations);
57+
};
5858
},
5959
Cell(props: { original: BiologicalVariant }) {
6060
return (

0 commit comments

Comments
 (0)