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