Skip to content

Commit

Permalink
docs: fix import typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlescure committed Oct 23, 2021
1 parent 7ff6f58 commit 5d098c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ Import `MonoContext`:

```tsx
// Node
const MockContext = require('@simplyhexagonal/mono-context');
const MonoContext = require('@simplyhexagonal/mono-context');

// ES6/Typescript
import MockContext from '@simplyhexagonal/mono-context';
import MonoContext from '@simplyhexagonal/mono-context';

// Browser (i.e. useful to debug components within React)
<script src="https://cdn.jsdelivr.net/npm/@simplyhexagonal/mono-context@latest/dist/mono-context.min.js"></script>
Expand Down

0 comments on commit 5d098c0

Please sign in to comment.