Skip to content

Commit

Permalink
fix: comment toast
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Apr 3, 2024
1 parent 4257ba1 commit d9fd460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/modules/comment/CommentBox/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import { useMutation, useQueryClient } from '@tanstack/react-query'
import { useCallback, useContext } from 'react'
import { toast } from 'react-toastify'
import { produce } from 'immer'
import { atom, useAtomValue } from 'jotai'
import { atomWithStorage, selectAtom } from 'jotai/utils'
Expand All @@ -20,6 +19,7 @@ import type { createInitialValue } from './providers'
import { useIsLogged } from '~/atoms/hooks'
import { apiClient, getErrorMessageFromRequestError } from '~/lib/request'
import { jotaiStore } from '~/lib/store'
import { toast } from '~/lib/toast'

import { buildQueryKey } from '../Comments'
import { MAX_COMMENT_TEXT_LENGTH } from './constants'
Expand Down

0 comments on commit d9fd460

Please sign in to comment.