chore: tweaks
This commit is contained in:
@@ -142,7 +142,7 @@ const ChannelModal: FC<Props> = ({ personal = false, closeModal }) => {
|
||||
<div className="w-full flex flex-col justify-start gap-2 mb-2 md:mb-8">
|
||||
<span className="text-gray-400 text-sm font-normal">{t("channel_name")}</span>
|
||||
<div className="relative">
|
||||
<input className="text-gray-600 rounded p-2 pl-9 border border-solid border-gray-300 w-full bg-transparent" onChange={handleNameInput} value={name} placeholder="new channel" />
|
||||
<input className="text-gray-600 dark:text-gray-300 rounded p-2 pl-9 border border-solid border-gray-300 w-full bg-transparent" onChange={handleNameInput} value={name} placeholder="new channel" />
|
||||
<ChannelIcon personal={!is_public} className="absolute left-2 top-1/2 -translate-y-1/2" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -38,7 +38,7 @@ const Send: FC<IProps> = ({
|
||||
const [markdownEditor, setMarkdownEditor] = useState(null);
|
||||
const [markdownFullscreen, setMarkdownFullscreen] = useState(false);
|
||||
const dispatch = useAppDispatch();
|
||||
const addLocalFileMesage = useAddLocalFileMessage({ context, to: id });
|
||||
const addLocalFileMessage = useAddLocalFileMessage({ context, to: id });
|
||||
// 谁发的
|
||||
const {
|
||||
from_uid,
|
||||
@@ -111,7 +111,7 @@ const Send: FC<IProps> = ({
|
||||
from_uid,
|
||||
sending: true
|
||||
};
|
||||
addLocalFileMesage(tmpMsg);
|
||||
addLocalFileMessage(tmpMsg);
|
||||
});
|
||||
resetStageFiles();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user