[Refactor] Tidy up utils' files and functions.
This commit is contained in:
@@ -2,7 +2,7 @@ import { useEffect, useLayoutEffect, useRef, useState } from "react";
|
||||
import styles from "./LogBox.module.scss";
|
||||
import { store } from "@store";
|
||||
import { MessageContainer } from "./message_container/MessageContainer";
|
||||
import { scrollToBottom } from "@utils/scrollToBottom";
|
||||
import { scrollToBottom } from "@utils";
|
||||
import { useMessage } from "@logics_common";
|
||||
|
||||
export const LogBox = () => {
|
||||
|
||||
@@ -3,7 +3,7 @@ import styles from "./MessageInputBox.module.scss";
|
||||
import SendMessageSvg from "@images/send_message.svg?react";
|
||||
import { useMessage } from "@logics_common";
|
||||
import { store } from "@store";
|
||||
import { scrollToBottom } from "@utils/scrollToBottom";
|
||||
import { scrollToBottom } from "@utils";
|
||||
import {
|
||||
useSendMessageButtonType,
|
||||
useEnableAutoClearMessageInputBox,
|
||||
|
||||
Reference in New Issue
Block a user