Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4bafc34

Browse files
memoize useMergeCompStyles hook
1 parent6ebb066 commit4bafc34

File tree

1 file changed

+6
-1
lines changed
  • client/packages/lowcoder/src/util

1 file changed

+6
-1
lines changed

‎client/packages/lowcoder/src/util/hooks.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,5 +190,10 @@ export function useMergeCompStyles(
190190
styleProps,
191191
themeId,
192192
});
193-
},[]);
193+
},[
194+
themeId,
195+
JSON.stringify(styleProps),
196+
JSON.stringify(compTheme),
197+
setInitialCompStyles
198+
]);
194199
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp