Skip to content

Commit

Permalink
fix: CoCreate.crud.default removed bug causing default object
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Nov 25, 2022
1 parent 000bd78 commit 986ee58
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
import observer from '@cocreate/observer';
import CRUD from '@cocreate/crud-client';
import crud from '@cocreate/crud-client';
import '@cocreate/element-prototype';

let crud
if (CRUD && CRUD.default)
crud = CRUD.default
else
crud = CRUD

var CoCreateCalculation = {

init: function() {
Expand Down

0 comments on commit 986ee58

Please sign in to comment.