Skip to content

Commit

Permalink
Revert "Fix component typing"
Browse files Browse the repository at this point in the history
This reverts commit a9095ad.
  • Loading branch information
RickyRoller committed Mar 7, 2025
1 parent a9095ad commit eb991c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apps/external-app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import { Location, withRouter, History } from 'react-router-dom';
import { Component, ComponentType } from 'react';
import { Component } from 'react';
import { connect } from 'react-redux';
import { Dispatch, AnyAction } from 'redux';
import { IFrame } from '../iframe';
Expand Down Expand Up @@ -77,4 +77,4 @@ class ExternalAppComponent extends Component<Properties, State> {
}

const ConnectedExternalApp = connect()(ExternalAppComponent);
export const ExternalApp = withRouter<PublicProperties>(ConnectedExternalApp) as ComponentType<PublicProperties>;
export const ExternalApp = withRouter<PublicProperties>(ConnectedExternalApp);

0 comments on commit eb991c8

Please sign in to comment.