1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

renamed providers to context

This commit is contained in:
Fedor Katurov 2021-11-21 16:51:59 +07:00
parent 0dc5ae99a3
commit 7284ed7301
14 changed files with 54 additions and 36 deletions

View file

@ -6,9 +6,9 @@ import { canEditComment } from '~/utils/node';
import { COMMENTS_DISPLAY } from '~/redux/node/constants';
import { plural } from '~/utils/dom';
import { useGrouppedComments } from '~/utils/hooks/node/useGrouppedComments';
import { useCommentContext } from '~/utils/providers/CommentProvider';
import { useCommentContext } from '~/utils/context/CommentContextProvider';
import { Comment } from '~/components/comment/Comment';
import { useUserContext } from '~/utils/providers/UserProvider';
import { useUserContext } from '~/utils/context/UserContextProvider';
interface IProps {
order: 'ASC' | 'DESC';