fix: apply feedback

This commit is contained in:
abdou6666 2025-01-30 18:28:52 +01:00
parent b534e47edd
commit ae741df998

View File

@ -6,7 +6,6 @@
* 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file).
*/ */
import React, { ChangeEvent, useMemo } from "react"; import React, { ChangeEvent, useMemo } from "react";
import { useChat } from "../../providers/ChatProvider"; import { useChat } from "../../providers/ChatProvider";
@ -26,7 +25,7 @@ const FileButton: React.FC = () => {
} }
}; };
const acceptedMimeTypes = useMemo( const acceptedMimeTypes = useMemo(
() => Object.values(MIME_TYPES).flat().join(""), () => Object.values(MIME_TYPES).flat().join(","),
[], [],
); );