Skip to content

Commit

Permalink
Remove unnecessary components prop
Browse files Browse the repository at this point in the history
  • Loading branch information
jeyip committed Aug 2, 2023
1 parent e836e80 commit aa00ccc
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions client/lib/plans/features-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -854,24 +854,14 @@ export const FEATURES_LIST: FeatureList = {
[ FEATURE_6GB_STORAGE ]: {
getSlug: () => FEATURE_6GB_STORAGE,
getCompareTitle: () => i18n.translate( '6 GB' ),
getTitle: () =>
i18n.translate( '6 GB', {
components: {
strong: <strong />,
},
} ),
getTitle: () => i18n.translate( '6 GB' ),
getDescription: () =>
i18n.translate( 'Upload more images, audio, and documents to your website.' ),
},

[ FEATURE_13GB_STORAGE ]: {
getSlug: () => FEATURE_13GB_STORAGE,
getTitle: () =>
i18n.translate( '13 GB', {
components: {
strong: <strong />,
},
} ),
getTitle: () => i18n.translate( '13 GB' ),
getCompareTitle: () => i18n.translate( '13 GB' ),
getDescription: () =>
i18n.translate( 'Upload more images, videos, audio, and documents to your website.' ),
Expand All @@ -888,12 +878,7 @@ export const FEATURES_LIST: FeatureList = {
// TODO: Consider removing this because it is no longer standard on any plans
[ FEATURE_200GB_STORAGE ]: {
getSlug: () => FEATURE_200GB_STORAGE,
getTitle: () =>
i18n.translate( '200 GB', {
components: {
strong: <strong />,
},
} ),
getTitle: () => i18n.translate( '200 GB' ),
getCompareTitle: () => i18n.translate( '200 GB' ),
getDescription: () =>
i18n.translate( 'Upload more images, videos, audio, and documents to your website.' ),
Expand Down

0 comments on commit aa00ccc

Please sign in to comment.