Remove redundant type
[MAILPOET-2791]
This commit is contained in:
@@ -3,11 +3,6 @@ import MailPoet from 'mailpoet';
|
|||||||
import ReactStringReplace from 'react-string-replace';
|
import ReactStringReplace from 'react-string-replace';
|
||||||
import jQuery from 'jquery';
|
import jQuery from 'jquery';
|
||||||
|
|
||||||
type featureAnnouncementProps = {
|
|
||||||
hasNews: boolean,
|
|
||||||
onBeamerClick: () => {},
|
|
||||||
}
|
|
||||||
|
|
||||||
export const withFeatureAnnouncement = <P extends object>(
|
export const withFeatureAnnouncement = <P extends object>(
|
||||||
Component: React.ComponentType<P>
|
Component: React.ComponentType<P>
|
||||||
): React.FC<Omit<P, 'hasNews'|'onBeamerClick'>> => {
|
): React.FC<Omit<P, 'hasNews'|'onBeamerClick'>> => {
|
||||||
|
Reference in New Issue
Block a user