summaryrefslogtreecommitdiffstats
path: root/core/src/OCP/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/OCP/index.js')
-rw-r--r--core/src/OCP/index.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/src/OCP/index.js b/core/src/OCP/index.js
index 7d5edd5a9d0..3309e3fe047 100644
--- a/core/src/OCP/index.js
+++ b/core/src/OCP/index.js
@@ -3,8 +3,8 @@
*/
import * as AppConfig from './appconfig'
import * as Comments from './comments'
-import * as InitialState from './initialstate'
import Loader from './loader'
+import { loadState } from '@nextcloud/initial-state'
import Collaboration from './collaboration'
import Toast from './toast'
import * as WhatsNew from './whatsnew'
@@ -14,7 +14,12 @@ export default {
AppConfig,
Collaboration,
Comments,
- InitialState,
+ InitialState: {
+ /**
+ * @deprecated 18.0.0 add https://www.npmjs.com/package/@nextcloud/initial-state to your app
+ */
+ loadState
+ },
Loader,
Toast,
WhatsNew