Skip to content

Commit

Permalink
chore: remove non-null assertion
Browse files Browse the repository at this point in the history
Signed-off-by: Carina Ursu <[email protected]>
  • Loading branch information
ursucarina committed May 6, 2022
1 parent 14bb53b commit 2a1c0b7
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 126 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ReactJsonViewWrapper } from 'components/common/ReactJsonView';
import { LiteralMap } from 'models/Common/types';
import * as React from 'react';
import { transformLiteralMap } from './helpers';
import { transformLiterals } from './helpers';
import { NoneTypeValue } from './Scalar/NoneTypeValue';

export const NoDataIsAvailable = () => {
Expand All @@ -28,7 +28,7 @@ export const LiteralMapViewer: React.FC<{
return <NoneTypeValue />;
}

const transformedLiterals = transformLiteralMap(literals);
const transformedLiterals = transformLiterals(literals);

return (
<>
Expand Down
Loading

0 comments on commit 2a1c0b7

Please sign in to comment.