Skip to content

Commit 6962922

Browse files
committed
fix flow
1 parent 3377ef5 commit 6962922

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin-ui/src/components/Flow/panel/ButtonPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,15 +235,15 @@ const ButtonPanel: React.FC<ButtonPanelProps> = (props) => {
235235
/>
236236
</Space>
237237
)}
238-
normalize={(value) => {
238+
normalize={(value:any) => {
239239
if (value) {
240240
return {
241241
background: value.toHexString()
242242
};
243243
}
244244
return value;
245245
}}
246-
getValueProps={(value) => {
246+
getValueProps={(value:any) => {
247247
const color = value?.background;
248248
if (color) {
249249
return {

0 commit comments

Comments
 (0)