Skip to content

Commit

Permalink
refactor: Narrow type to FC to match enterprise
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Anton committed Jun 4, 2024
1 parent 6788447 commit ff0e1c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { FeatureFlagsKeysEnum } from '@novu/shared';
import { IS_DOCKER_HOSTED, useFeatureFlag } from '@novu/shared-web';
import { ComponentType } from 'react';
import { FC } from 'react';

export function UpgradePlanBanner({ FeatureActivatedBanner }: { FeatureActivatedBanner: ComponentType }) {
export function UpgradePlanBanner({ FeatureActivatedBanner }: { FeatureActivatedBanner: FC }) {
const isEnabled = useFeatureFlag(FeatureFlagsKeysEnum.IS_BILLING_REVERSE_TRIAL_ENABLED);

if (IS_DOCKER_HOSTED) {
Expand Down

0 comments on commit ff0e1c3

Please sign in to comment.