FinGAP: wrap table with store observer
This commit is contained in:
parent
2b383695fa
commit
33677c504f
@ -1,8 +1,9 @@
|
||||
import Table from 'Elements/Table';
|
||||
import { observer } from 'mobx-react-lite';
|
||||
import { useStore } from 'stores/hooks';
|
||||
import { columns } from './config';
|
||||
|
||||
export default function FinGAPTable() {
|
||||
const FinGAPTable = observer(() => {
|
||||
const { $tables } = useStore();
|
||||
const { finGAP } = $tables;
|
||||
|
||||
@ -30,4 +31,6 @@ export default function FinGAPTable() {
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
export default FinGAPTable;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user