Fix import for LabelView
This commit is contained in:
parent
c5e89c1fb6
commit
68128c52e5
1 changed files with 1 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue