ReviewDB: fix input
This commit is contained in:
parent
d9e2732a8d
commit
27b2e97e3f
2 changed files with 5 additions and 4 deletions
|
|
@ -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 });
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
}
|
||||
|
||||
.vc-rdb-input {
|
||||
padding-left: 12px;
|
||||
margin-top: 6px;
|
||||
margin-bottom: 12px;
|
||||
resize: none;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue