Skip to content

Commit

Permalink
EPMRPP-90318 || Code review fixes - 1
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet committed May 16, 2024
1 parent 53dea4a commit edfa36d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/components/extensionLoader/extensionLoader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@

import React from 'react';
import PropTypes from 'prop-types';
import { PLUGIN_TYPE_REMOTE } from 'controllers/plugins/uiExtensions/constants';
import { ErrorBoundary } from 'components/containers/errorBoundary';
import { ExtensionError } from './extensionError';
import { extensionType } from './extensionTypes';
import { FederatedExtensionLoader } from './federatedExtensionLoader';
import { StandaloneExtensionLoader } from './standaloneExtensionLoader';

function ExtensionLoader({ extension, withPreloader, ...componentProps }) {
return extension.pluginType === 'remote' ? (
return extension.pluginType === PLUGIN_TYPE_REMOTE ? (
<StandaloneExtensionLoader extension={extension} />
) : (
<FederatedExtensionLoader
Expand Down

0 comments on commit edfa36d

Please sign in to comment.