mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-26 09:00:57 -05:00
Remove logs.
This commit is contained in:
parent
c5a36b09d9
commit
4ac3165bdc
3 changed files with 0 additions and 7 deletions
|
@ -192,9 +192,6 @@ export const MessageReply = observer(({ index, channel, id }: Props) => {
|
||||||
if (
|
if (
|
||||||
channel.channel_type === "TextChannel"
|
channel.channel_type === "TextChannel"
|
||||||
) {
|
) {
|
||||||
console.log(
|
|
||||||
`/server/${channel.server_id}/channel/${channel._id}/${message._id}`,
|
|
||||||
);
|
|
||||||
history.push(
|
history.push(
|
||||||
`/server/${channel.server_id}/channel/${channel._id}/${message._id}`,
|
`/server/${channel.server_id}/channel/${channel._id}/${message._id}`,
|
||||||
);
|
);
|
||||||
|
|
|
@ -77,9 +77,6 @@ export interface ThemeOptions {
|
||||||
custom?: Partial<Theme>;
|
custom?: Partial<Theme>;
|
||||||
}
|
}
|
||||||
|
|
||||||
// import aaa from "@fontsource/open-sans/300.css?raw";
|
|
||||||
// console.info(aaa);
|
|
||||||
|
|
||||||
export const FONTS: Record<Fonts, { name: string; load: () => void }> = {
|
export const FONTS: Record<Fonts, { name: string; load: () => void }> = {
|
||||||
"Open Sans": {
|
"Open Sans": {
|
||||||
name: "Open Sans",
|
name: "Open Sans",
|
||||||
|
|
|
@ -174,7 +174,6 @@ export const MessageArea = observer(({ channel }: Props) => {
|
||||||
if (renderer.state === "RENDER") {
|
if (renderer.state === "RENDER") {
|
||||||
runInAction(() => (renderer.fetching = true));
|
runInAction(() => (renderer.fetching = true));
|
||||||
|
|
||||||
console.log(renderer.scrollAnchored);
|
|
||||||
if (renderer.scrollAnchored) {
|
if (renderer.scrollAnchored) {
|
||||||
setScrollState({ type: "ScrollToBottom" });
|
setScrollState({ type: "ScrollToBottom" });
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue