ReviewDB: fix input

This commit is contained in:
Vendicated 2025-08-12 02:55:01 +02:00
parent d9e2732a8d
commit 27b2e97e3f
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 5 additions and 4 deletions

View file

@ -29,8 +29,8 @@ import ReviewComponent from "./ReviewComponent";
const Transforms = findByPropsLazy("insertNodes", "textToText");
const Editor = findByPropsLazy("start", "end", "toSlateRange");
const ChatInputTypes = findByPropsLazy("FORM");
const InputComponent = findComponentByCodeLazy("disableThemedBackground", "CHANNEL_TEXT_AREA");
const ChatInputTypes = findByPropsLazy("FORM", "USER_PROFILE");
const InputComponent = findComponentByCodeLazy("editorClassName", "CHANNEL_TEXT_AREA");
const createChannelRecordFromServer = findByCodeLazy(".GUILD_TEXT])", "fromServer)");
interface UserProps {
@ -127,7 +127,7 @@ export function ReviewsInputComponent(
) {
const { token } = Auth;
const editorRef = useRef<any>(null);
const inputType = ChatInputTypes.FORM;
const inputType = ChatInputTypes.USER_PROFILE_REPLY;
inputType.disableAutoFocus = true;
const channel = createChannelRecordFromServer({ id: "0", type: 1 });

View file

@ -8,6 +8,7 @@
}
.vc-rdb-input {
padding-left: 12px;
margin-top: 6px;
margin-bottom: 12px;
resize: none;