mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
15 lines
355 B
TypeScript
15 lines
355 B
TypeScript
![]() |
import Card from '../../components/Common/Card';
|
||
|
import PrettyJson from '../../components/Common/PrettyJSON';
|
||
|
import { useRSForm } from '../../context/RSFormContext';
|
||
|
|
||
|
function ConstituentEditor() {
|
||
|
const { active } = useRSForm();
|
||
|
|
||
|
return (
|
||
|
<Card>
|
||
|
{active && <PrettyJson data={active}/>}
|
||
|
</Card>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
export default ConstituentEditor;
|