fix(ui): widget options observe state changes
This commit is contained in:
parent
dd6b1a6c97
commit
bff9b7fb93
1 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ import { Select, Space, Switch } from 'antd';
|
|||
import { useStore } from 'App/mstore';
|
||||
import ClickMapRagePicker from 'Components/Dashboard/components/ClickMapRagePicker/ClickMapRagePicker';
|
||||
import { FilterKey } from 'Types/filter/filterType';
|
||||
import { observer } from 'mobx-react-lite';
|
||||
|
||||
interface Props {
|
||||
|
||||
|
|
@ -57,4 +58,4 @@ function WidgetOptions(props: Props) {
|
|||
);
|
||||
}
|
||||
|
||||
export default WidgetOptions;
|
||||
export default observer(WidgetOptions);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue