paste trim fix

This commit is contained in:
bflatastic committed 2025-04-02 22:40:56 +07:00
1 parent 15fe59cc19
commit 97b236d04d
1 file changed
+1 -1
@@ -105,7 +105,7 @@ export const PromptBox = () => {
const handlePaste = (e: React.ClipboardEvent<HTMLTextAreaElement>) => {
e.preventDefault();
const pastedText = e.clipboardData.getData("text").trimStart();
const pastedText = e.clipboardData.getData("text").trim();
setPrompt(pastedText);
};