Skip to content

Commit b5bd087

Browse files
fix table with avatar type column crash on hover
1 parent ca698ab commit b5bd087

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/columnAvatarsComp.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import { optionsControl } from "comps/controls/optionsControl";
1717
import { BoolControl } from "comps/controls/boolControl";
1818
import { dropdownControl } from "comps/controls/dropdownControl";
1919
import { JSONObject } from "util/jsonTypes";
20-
import { useMergeCompStyles } from "@lowcoder-ee/util/hooks";
2120

2221
const MenuLinkWrapper = styled.div`
2322
> a {
@@ -89,7 +88,7 @@ export const alignOptions = [
8988

9089
export const ColumnAvatarsComp = (function () {
9190
const childrenMap = {
92-
style: styleControl(avatarGroupStyle , 'style'),
91+
style: styleControl(avatarGroupStyle),
9392
maxCount: withDefault(NumberControl, 3),
9493
avatarSize: withDefault(NumberControl, 40),
9594
alignment: dropdownControl(alignOptions, "center"),
@@ -109,9 +108,6 @@ export const ColumnAvatarsComp = (function () {
109108
return new ColumnTypeCompBuilder(
110109
childrenMap,
111110
(props , dispatch) => {
112-
113-
useMergeCompStyles(props, dispatch);
114-
115111
return (
116112
<Container
117113
$style={props.style}

0 commit comments

Comments
 (0)