feat: enhance UI components, update theme handling, and improve tool expansion logic for better performance
This commit is contained in:
@@ -8,8 +8,7 @@ interface ThemeProviderProps {
|
||||
export const ThemeProvider: React.FC<ThemeProviderProps> = ({ children }) => {
|
||||
const { theme, applyTheme, fontSize, applyTypography, padding, applyPadding } = useUIStore();
|
||||
|
||||
React.useEffect(() => {
|
||||
|
||||
React.useLayoutEffect(() => {
|
||||
applyTheme();
|
||||
applyTypography();
|
||||
applyPadding();
|
||||
|
||||
Reference in New Issue
Block a user