Skip to content

Commit

Permalink
[Refactor]
Browse files Browse the repository at this point in the history
  • Loading branch information
amivanoff committed Jul 1, 2021
1 parent 1235c20 commit b6ba86c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 49 deletions.
2 changes: 1 addition & 1 deletion src/cells/AntdCellCardLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import React from 'react';

import { rankWith, RankedTester, uiTypeIs } from '../testers';
import { get } from 'lodash';
import { get } from 'lodash-es';

import { ViewElement } from '../models/uischema';
import { Card } from 'antd';
Expand Down
2 changes: 1 addition & 1 deletion src/cells/AntdCellHorizontalLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { DispatchCell } from '../DispatchCell';
import { DispatchCellProps } from '../Form';
import { ViewElement } from '../models/uischema';
import { rankWith, uiTypeIs, RankedTester } from '../testers';
import { get } from 'lodash';
import { get } from 'lodash-es';

import { Idx } from '../util/layout';

Expand Down
47 changes: 0 additions & 47 deletions stories/AntdCardCell.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,53 +31,6 @@ const antdRenderers: RendererRegistryEntry[] = [
...antdDataControlRenderers,
];

const cardData = [
{
'@id': '1',
name: 'test1',
imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
},
{
'@id': '2',
name: 'test2',
imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
},
{
'@id': '1',
name: 'test1',
imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
},
{
'@id': '1',
name: 'test1',
imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
},
{
'@id': '1',
name: 'test1',
imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
},
{
'@id': '1',
name: 'test1',
imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
},
{
'@id': '1',
name: 'test1',
imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
},
{
'@id': '1',
name: 'test1',
imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
},
{
'@id': '1',
name: 'test1',
imageUrl: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
},
];
const viewDescrs = [
{
'@id': 'mktp:CardCellViewDescr',
Expand Down

0 comments on commit b6ba86c

Please sign in to comment.