mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-04-12 21:50:23 +08:00
fix(editor): make the warning area update immediately
This commit is contained in:
parent
7437dc7560
commit
95186a8b64
@ -44,7 +44,7 @@ export const WarningArea: React.FC<Props> = observer(({ services }) => {
|
||||
</Tr>
|
||||
);
|
||||
});
|
||||
}, [isCollapsed, editorStore]);
|
||||
}, [isCollapsed, editorStore.validateResult]);
|
||||
|
||||
const savedBadge = useMemo(() => {
|
||||
return <Badge colorScheme="green">Saved</Badge>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user