Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 9cc4967

Browse files
committed
add return declaration
1 parent 36977a9 commit 9cc4967

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/atoms/VideoEmbed/VideoEmbed.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import RichText from '@/components/atoms/RichText'
12
import cn from 'classnames'
23
import PropTypes from 'prop-types'
34
import React from 'react'
4-
import RichText from '@/components/atoms/RichText'
55
import styles from './VideoEmbed.module.css'
66

77
/**
@@ -20,6 +20,7 @@ export default function VideoEmbed({className, url, type, caption}) {
2020
* Create URL embed for YouTube or Vimeo videos.
2121
*
2222
* @param {string} url The video URL.
23+
* @return {string} Formatted video URL.
2324
*/
2425
function createVideoUrl(url) {
2526
if (!url) {

0 commit comments

Comments
 (0)