Remove unused bundle-related Redux actions (#37030)

This commit is contained in:
diondiondion authored and GitHub committed 2025-11-27 10:50:48 +00:00
1 parent 90466d0262
commit 07ecf648dd
6 files changed
+10 -66

No files matched your search

@@ -5,9 +5,9 @@ import { Switch, Route, useLocation } from 'react-router-dom';
import StackTrace from 'stacktrace-js';
import Bundle from '../components/bundle';
import BundleColumnError from '../components/bundle_column_error';
import { ColumnLoading } from '../components/column_loading';
import BundleContainer from '../containers/bundle_container';
// Small wrapper to pass multiColumn to the route components
export const WrappedSwitch = ({ multiColumn, children }) => {
@@ -80,9 +80,9 @@ export class WrappedRoute extends Component {
}
return (
<BundleContainer fetchComponent={component} loading={this.renderLoading} error={this.renderError}>
<Bundle fetchComponent={component} loading={this.renderLoading} error={this.renderError}>
{Component => <Component params={match.params} multiColumn={multiColumn} {...componentParams}>{content}</Component>}
</BundleContainer>
</Bundle>
);
};