Skip to content

Commit

Permalink
Merge pull request #704 from cozy/no-export-default
Browse files Browse the repository at this point in the history
fix: Do not use export default but only export
  • Loading branch information
ptbrowne committed Sep 15, 2020
2 parents 8ef80ec + 8e50166 commit 68684aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ const {

const version = __VERSION__

export default {
export {
init,
version,
setBarCenter,
Expand Down
2 changes: 1 addition & 1 deletion src/index.spec.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import CozyClient from 'cozy-client'
import cozyBar from './index'
import * as cozyBar from './index'

describe('init', () => {
beforeEach(() => {
Expand Down

0 comments on commit 68684aa

Please sign in to comment.