import React, { useState } from 'react'; import { CSSTransition } from 'react-transition-group'; import { NavLink } from 'react-router-dom'; import TmdbIcon from '../../assets/tmdb-power.png'; import './Sidebar.scss'; const Sidebar = () => { const [expandedLinks, setExpandedLinks] = useState(false); const toggleLinks = () => { setExpandedLinks(!expandedLinks); }; return ( <>