Skip to content
Permalink
Browse files

Small tweak to YouTube user link

  • Loading branch information...
lmorchard committed Mar 15, 2019
1 parent e4ce20e commit 1ddf8c1ac9d01718ce4bd5bffd2a6d6d77716611
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/components/YouTube/index.js
@@ -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 {

0 comments on commit 1ddf8c1

Please sign in to comment.
You can’t perform that action at this time.