From d899bd355bce5b02720cf13adfa4bf4c8269c1fd Mon Sep 17 00:00:00 2001 From: jeromesimeon Date: Wed, 28 Jul 2021 11:21:18 -0400 Subject: [PATCH] fix(concerto) Remove now unnecessary base model Signed-off-by: jeromesimeon --- .../ui-concerto/src/components/concertoForm.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/packages/ui-concerto/src/components/concertoForm.js b/packages/ui-concerto/src/components/concertoForm.js index 191906a..c78aeba 100644 --- a/packages/ui-concerto/src/components/concertoForm.js +++ b/packages/ui-concerto/src/components/concertoForm.js @@ -97,21 +97,6 @@ const ConcertoForm = (props) => { useEffect(() => { setLoading(true); const modelManager = new ModelManager(); - // TODO Refactor this to an option to make this independent of Cicero - modelManager.addModelFile( - `namespace org.accordproject.base - abstract asset Asset { } - abstract participant Participant { } - abstract transaction Transaction identified by transactionId { - o String transactionId - } - abstract event Event identified by eventId { - o String eventId - }`, - 'org.accordproject.base.cto', - false, - true - ); models.forEach((model, idx) => { try { modelManager.addModelFile(model, `model-${idx}`, true);