import React from 'react' import styled from 'styled-components/macro' import { Tooltip, TooltipWrapper } from 'features/Tooltip' import { useMatchSwitchesStore } from 'features/MatchSwitches' import { Switch, Icon, } from '../../styled' const Wrapper = styled.div` position: relative; :hover ${TooltipWrapper} { display: block; } ` export const AvailableMatchesSwitch = () => { const { availableMatchesOnly, toggleMatchAvailablity, } = useMatchSwitchesStore() const lexic = availableMatchesOnly ? 'available_matches_shown' : 'all_matches_shown' return ( ) }