Skip to content

Commit

Permalink
package: use the exported store in src
Browse files Browse the repository at this point in the history
Signed-off-by: Max <[email protected]>
  • Loading branch information
max-nextcloud committed Apr 6, 2022
1 parent ef943f7 commit 2092f3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/helpers/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import { openMimetypes } from './mime'
import RichWorkspace from '../views/RichWorkspace'
import { imagePath } from '@nextcloud/router'
import store from '@nextcloud/text-editor/store'
import { store } from '@nextcloud/text-editor'

const FILE_ACTION_IDENTIFIER = 'Edit with text app'

Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import store from '@nextcloud/text-editor/store'
import { store } from '@nextcloud/text-editor'

__webpack_nonce__ = btoa(OC.requestToken) // eslint-disable-line
__webpack_public_path__ = OC.linkTo('text', 'js/') // eslint-disable-line
Expand Down
2 changes: 1 addition & 1 deletion src/public.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from './helpers/files'
import { openMimetypes } from './helpers/mime'
import { loadState } from '@nextcloud/initial-state'
import store from '@nextcloud/text-editor/store'
import { store } from '@nextcloud/text-editor'

__webpack_nonce__ = btoa(OC.requestToken) // eslint-disable-line
__webpack_public_path__ = OC.linkTo('text', 'js/') // eslint-disable-line
Expand Down

0 comments on commit 2092f3b

Please sign in to comment.