Fix import for LabelView

This commit is contained in:
Mo Tarbin 2024-12-31 02:25:31 -05:00
parent c5e89c1fb6
commit 68128c52e5

View file

@ -17,8 +17,8 @@ import { useLabels } from './LabelQueries'
import { Add } from '@mui/icons-material'
import { useQueryClient } from 'react-query'
import { useNavigate } from 'react-router-dom'
import { getTextColorFromBackgroundColor } from '../../utils/Colors'
import { DeleteLabel } from '../../utils/Fetcher'
import { getTextColorFromBackgroundColor } from '../../utils/LabelColors'
import ConfirmationModal from '../Modals/Inputs/ConfirmationModal'
const LabelView = () => {
@ -134,7 +134,6 @@ const LabelView = () => {
color='neutral'
onClick={() => handleEditLabel(label)}
startDecorator={<EditIcon />}
>
Edit
</Button>
@ -151,7 +150,6 @@ const LabelView = () => {
))}
</div>
{userLabels.length === 0 && (
<Typography textAlign='center' mt={2}>
No labels available. Add a new label to get started.