Skip to content

Commit

Permalink
Small tweak to YouTube user link
Browse files Browse the repository at this point in the history
  • Loading branch information
lmorchard committed Mar 15, 2019
1 parent e4ce20e commit 1ddf8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/YouTube/index.js
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import Card from '../Card';
import './index.scss';

const userUrl = (username) => `https://youtube.com/${username}`;
const userUrl = (username) => `https://www.youtube.com/user/${username}/videos`;
const videoUrl = ({ id: { videoId } }) => `https://www.youtube.com/watch?v=${videoId}`;

export class YouTube extends React.Component {
Expand Down

0 comments on commit 1ddf8c1

Please sign in to comment.