Skip to content

Commit

Permalink
fix(concerto) Remove now unnecessary base model
Browse files Browse the repository at this point in the history
Signed-off-by: jeromesimeon <[email protected]>
  • Loading branch information
jeromesimeon committed Sep 28, 2021
1 parent a746b66 commit d899bd3
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions packages/ui-concerto/src/components/concertoForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d899bd3

Please sign in to comment.