mirror of
https://github.com/wassname/talk.git
synced 2026-10-02 12:50:49 +08:00
Use lazy loading for slot fragments
This commit is contained in:
1 parent
4511b9ca57
commit
dcdfbb691a
3 files changed
+20
-13
No files matched your search
@@ -2,12 +2,12 @@ import React from 'react';
|
||||
import uniq from 'lodash/uniq';
|
||||
import pick from 'lodash/pick';
|
||||
import merge from 'lodash/merge';
|
||||
import plugins from 'pluginsConfig';
|
||||
import flatten from 'lodash/flatten';
|
||||
import flattenDeep from 'lodash/flattenDeep';
|
||||
import flatten from 'lodash/flatten';
|
||||
import {loadTranslations} from 'coral-framework/services/i18n';
|
||||
import {injectReducers, getStore} from 'coral-framework/services/store';
|
||||
import camelize from './camelize';
|
||||
import plugins from 'pluginsConfig';
|
||||
|
||||
export function getSlotComponents(slot) {
|
||||
const pluginConfig = getStore().getState().config.plugin_config;
|
||||
|
||||
Reference in new issue
Block a user