chore: updates
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user