import { useCurrentCommentSection } from '@audius/common/context' import { Flex, SelectablePill } from '@audius/harmony' import { GetTrackCommentsSortMethodEnum } from '@audius/sdk' const messages = { top: 'Top', newest: 'Newest', timestamp: 'Timestamp' } export const CommentSortBar = () => { const { currentSort, setCurrentSort } = useCurrentCommentSection() return ( setCurrentSort(GetTrackCommentsSortMethodEnum.Top)} /> setCurrentSort(GetTrackCommentsSortMethodEnum.Newest)} /> setCurrentSort(GetTrackCommentsSortMethodEnum.Timestamp)} /> ) }