import Table from 'Elements/Table'; import { toJS } from 'mobx'; import { observer } from 'mobx-react-lite'; import { useStore } from 'stores/hooks'; import { columns } from './config'; const FinGAPTable = observer(() => { const { $tables } = useStore(); const { fingap } = $tables; const dataSource = toJS(fingap.risks); const selectedRowKeys = [...toJS(fingap.selectedKeys)]; return (