feat(media): implement caching for chat media and update components to use cached media
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
"use client";
|
||||
/**
|
||||
* 登出(NextAuth 流程触发器)
|
||||
*
|
||||
* 调用 `signOut()` 清除 NextAuth session cookie 并重定向。
|
||||
* 不做任何持久化(不写 unstorage / 不调后端 / 不设自定义 cookie)。
|
||||
*
|
||||
*/
|
||||
import { signOut } from "next-auth/react";
|
||||
|
||||
export class Logout {
|
||||
async signOut(): Promise<void> {
|
||||
await signOut();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user