Skip to content

Commit

Permalink
Refactor: Remove unused imports in EditorView.tsx
Browse files Browse the repository at this point in the history
- Removed unused imports: createCategory getCategories getLoginUser and selectCurrentCategory.
- Cleaned up the import statements to improve code readability and maintainability.
  • Loading branch information
ryota-murakami committed Aug 10, 2024
1 parent 16a3045 commit bf9607c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/app/dashboard/EditorView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,9 @@ import dynamic from 'next/dynamic'
import React, { useEffect } from 'react'
import { match } from 'ts-pattern'

import { createCategory } from '@/actions/createCategory'
import { getCategories } from '@/actions/getCategories'
import { getLoginUser } from '@/actions/getLoginUser'
import { TodoEditor } from '@/components/TodoEditor'
import { cn } from '@/lib/utils'
import {
selectCurrentCategory,
selectEditorMode,
setCategories,
} from '@/redux/categorySlice'
import { selectEditorMode, setCategories } from '@/redux/categorySlice'
import { useAppDispatch, useAppSelector } from '@/redux/hooks'
import { setUser } from '@/redux/userSlice'
import type { Category, User } from '@/types/prisma'
Expand Down

0 comments on commit bf9607c

Please sign in to comment.