import { SettingOutlined } from '@ant-design/icons'; import { Button, Tooltip } from 'antd'; import React from 'react'; import { useAppDispatch } from '../../../../hooks/useAppDispatch'; import { toggleDrawer } from './phases.slice'; import { useAppSelector } from '../../../../hooks/useAppSelector'; import { colors } from '../../../../styles/colors'; import { useTranslation } from 'react-i18next'; const ConfigPhaseButton = () => { // get theme details from redux const themeMode = useAppSelector(state => state.themeReducer.mode); // localization const { t } = useTranslation('task-list-filters'); const dispatch = useAppDispatch(); return (