Skip to content

Commit

Permalink
fix(embed): an error occurred while rendering the visualization: erro…
Browse files Browse the repository at this point in the history
…r: Item with key ... is not registered. (apache#26398)

(cherry picked from commit 9ffcd64)
  • Loading branch information
rowdyroad authored and josedev-union committed Jan 22, 2024
1 parent f9d18af commit ebaa3a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions superset-frontend/src/embedded/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { makeApi, t, logging } from '@superset-ui/core';
import Switchboard from '@superset-ui/switchboard';
import getBootstrapData from 'src/utils/getBootstrapData';
import setupClient from 'src/setup/setupClient';
import setupPlugins from 'src/setup/setupPlugins';
import { RootContextProviders } from 'src/views/RootContextProviders';
import { store, USER_LOADED } from 'src/views/store';
import ErrorBoundary from 'src/components/ErrorBoundary';
Expand All @@ -32,6 +33,8 @@ import ToastContainer from 'src/components/MessageToasts/ToastContainer';
import { UserWithPermissionsAndRoles } from 'src/types/bootstrapTypes';
import { embeddedApi } from './api';

setupPlugins();

const debugMode = process.env.WEBPACK_MODE === 'development';
const bootstrapData = getBootstrapData();

Expand Down

0 comments on commit ebaa3a1

Please sign in to comment.