Skip to content

Commit 3ff8571

Browse files
committed
undo unnecessary changes
1 parent 43cfc28 commit 3ff8571

4 files changed

Lines changed: 3 additions & 9 deletions

File tree

dotcom-rendering/src/components/FollowButtons.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from './FollowButtons';
99

1010
export default {
11-
component: FollowTagButton,
11+
component: [FollowNotificationsButton, FollowTagButton],
1212
title: 'Components/FollowStatus',
1313
args: {
1414
isFollowing: false,
@@ -23,7 +23,7 @@ export const Default = ({ isFollowing }: { isFollowing: boolean }) => {
2323
displayName={'John Doe'}
2424
onClickHandler={() => undefined}
2525
/>
26-
<FollowTagButtonVariant
26+
<FollowNotificationsButton
2727
isFollowing={isFollowing}
2828
onClickHandler={() => undefined}
2929
/>

dotcom-rendering/src/frontend/schemas/feArticle.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,6 @@
112112
},
113113
"bio": {
114114
"type": "string"
115-
},
116-
"description": {
117-
"type": "string"
118115
}
119116
},
120117
"required": [
@@ -6033,4 +6030,4 @@
60336030
}
60346031
},
60356032
"$schema": "http://json-schema.org/draft-07/schema#"
6036-
}
6033+
}

dotcom-rendering/src/model/enhanceTags.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const enhanceTag = ({
1212
bylineImageUrl,
1313
contributorLargeImagePath: bylineLargeImageUrl,
1414
bio,
15-
description,
1615
},
1716
}: FETagType): TagType => ({
1817
id,
@@ -22,5 +21,4 @@ const enhanceTag = ({
2221
bylineImageUrl,
2322
bylineLargeImageUrl,
2423
bio,
25-
description,
2624
});

dotcom-rendering/src/types/tag.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,4 @@ export type TagType = {
5858
bylineLargeImageUrl?: string;
5959
podcast?: Podcast;
6060
bio?: string;
61-
description?: string;
6261
};

0 commit comments

Comments
 (0)