Skip to content

Commit fd9c3cc

Browse files
committed
fix_toggle_button_icon_bug
1 parent f3cb674 commit fd9c3cc

File tree

1 file changed

+1
-1
lines changed
  • client/packages/lowcoder-design/src/components/iconSelect

1 file changed

+1
-1
lines changed

client/packages/lowcoder-design/src/components/iconSelect/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class Icon {
127127
}
128128
}
129129
getView() {
130-
if (this.names[0].startsWith("antd/")) return this.def;
130+
if (this.names[0]?.startsWith("antd/")) return this.def;
131131
else
132132
return (
133133
<FontAwesomeIcon

0 commit comments

Comments
 (0)