Skip to content

Commit bd9a977

Browse files
authored
removed extra text from video title #299 (#300)
1 parent ab57540 commit bd9a977

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/YouTubeWebinars/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const YouTubeWebinars: React.FC = () => {
9393
/>
9494
<div className={styles.cardContent}>
9595
<p className={styles.title}>
96-
{video.snippet.title.replace(/\s*\| Open Telekom Cloud \| T-Systems\s*$/, '')}
96+
{video.snippet.title.replace(/\s*\| Open Telekom Cloud \| T-Systems\s*$/, '').replace(/\s*by\s*T-Systems\s*$/i, '')}
9797
</p>
9898
{/* <p className={styles.description}>
9999
{video.snippet.description.slice(0, 250)}...
@@ -104,8 +104,7 @@ const YouTubeWebinars: React.FC = () => {
104104
) : (
105105
!loading && (
106106
<div>
107-
<br /> <br />
108-
107+
<br /><br />
109108
<h3 style={{ gridColumn: '1 / -1', textAlign: 'center' }}>
110109
Sorry, we don’t have any videos available right now.
111110
</h3>

0 commit comments

Comments
 (0)