message: fix(useVideoData): fix a call in TDZ
  This change fixes an issue where `getVideoData()` is called in the
  corresponding variable's temporal dead zone. This is revealed in a
  Babel configuration where `const` is not transpiled to `var.
diff: /**
  - * Copyright IBM Corp. 2016, 2018
  + * Copyright IBM Corp. 2016, 2020
  *
  * This source code is licensed under the Apache-2.0 license found in the
  * LICENSE file in the root directory of this source tree.
  @@ -18,10 +18,6 @@ import { VideoPlayerAPI } from '@carbon/ibmdotcom-services';
  function useVideoData(type, videoId) {
  const [videoTitle, setVideoTitle] = useState([{ title: '', key: 0 }]);
  - useEffect(() => {
  - getVideoData();
  - }, [getVideoData, type]);
  -
  /**
  * retrieve duration and title information from the video if
  * the type of the CTA is `video`
  @@ -45,6 +41,10 @@ function useVideoData(type, videoId) {
  }
  }, [type, videoId]);
  + useEffect(() => {
  + getVideoData();
  + }, [getVideoData, type]);
  +
  return videoTitle;
  }
  