import React from 'react'; import style from './RandomPage.module.css'; import SideBar, {SideBarTitle} from '../../elements/SideBar/SideBar'; import Tag from '../../elements/Tag/Tag'; import PageTitle from '../../elements/PageTitle/PageTitle'; import VideoContainer from '../../elements/VideoContainer/VideoContainer'; import {callAPI} from '../../utils/Api'; /** * Randompage shuffles random viedeopreviews and provides a shuffle btn */ class RandomPage extends React.Component { constructor(props, context) { super(props, context); this.state = { videos: [], tags: [] }; } componentDidMount() { this.loadShuffledvideos(4); } render() { return (