mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 12:59:14 +00:00
fix: apply feedback
This commit is contained in:
parent
b534e47edd
commit
ae741df998
@ -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(","),
|
||||||
[],
|
[],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user