Move useMessage hook
This commit is contained in:
parent
9960c0a941
commit
30fac0db1f
2 changed files with 3 additions and 3 deletions
|
@ -4,8 +4,8 @@ import { atom, useRecoilState, useRecoilCallback } from "recoil";
|
|||
|
||||
import dayjs from "dayjs";
|
||||
|
||||
import { useUsers } from "../components/users";
|
||||
import useC2C from "./useC2C";
|
||||
import { useUsers } from "../users";
|
||||
import useC2C from "../../hooks/useC2C";
|
||||
|
||||
export const MessagesAtom = atom({
|
||||
key: "messages",
|
|
@ -1,7 +1,7 @@
|
|||
import React from "react";
|
||||
import { useRecoilValue } from "recoil";
|
||||
import useC2C from "../hooks/useC2C";
|
||||
import { MessagesAtom } from "../hooks/useMessage";
|
||||
import { MessagesAtom } from "../components/Message/useMessage";
|
||||
import useTimeout from "../hooks/useTimeout";
|
||||
import useSession from "../hooks/useSession";
|
||||
import debounce from "lodash.debounce";
|
||||
|
|
Loading…
Reference in a new issue