fix(GridCard): column count not work (#2023)
This commit is contained in:
parent
69bbfee67a
commit
77225a4e25
@ -56,7 +56,7 @@ const designerCss = css`
|
||||
|
||||
const InternalGridCard = (props) => {
|
||||
const { columnCount: columnCountProp, pagination } = useProps(props);
|
||||
const { service, _columnCount = defaultColumnCount } = useGridCardBlockContext();
|
||||
const { service, columnCount: _columnCount = defaultColumnCount } = useGridCardBlockContext();
|
||||
const columnCount = columnCountProp || _columnCount;
|
||||
const { run, params } = service;
|
||||
const meta = service?.data?.meta;
|
||||
|
Loading…
Reference in New Issue
Block a user