chore: updates

This commit is contained in:
Tristan Yang
2023-03-09 20:15:03 +08:00
parent 2f8e2181fa
commit 9c06edf9ad
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ const MobileNavs = () => {
const linkClass = `flex`;
const isChatPage = isHomePath || pathname.startsWith("/chat");
const isChattingPage = !!isDMChat || !!isChannelChat;
console.log("rrr", isDMChat, isChannelChat);
// console.log("rrr", isDMChat, isChannelChat);
// 有点绕
const chatNav = isChatHomePath ? "/chat" : chatPath || "/chat";
+1 -1
View File
@@ -38,7 +38,7 @@ const WebhookEdit = ({ uid }: Props) => {
// 保存编辑
const webhook_url = new FormData(form).get("webhook") as string;
const resp = await updateUser({ id: uid, webhook_url });
console.log("ressssss", resp);
// console.log("ressssss", resp);
if ("error" in resp) {
switch (resp.error.status) {
case 406: