mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
little
This commit is contained in:
parent
95fc45486b
commit
65a5efbb6d
@ -64,7 +64,7 @@ function UserTableSearchInput({ users, setUsers, setLoading }: UserInterface) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
fetchUsers();
|
fetchUsers();
|
||||||
console.log(users, "users1");
|
// console.log(users, "users1");
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, [searchText]);
|
}, [searchText]);
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@ export function getSession() {
|
|||||||
|
|
||||||
export async function getSessionName() {
|
export async function getSessionName() {
|
||||||
const session = await getSession();
|
const session = await getSession();
|
||||||
console.log('in........', session)
|
// console.log('in........', session)
|
||||||
return {
|
return {
|
||||||
name: session?.user?.email || session?.user?.name,
|
name: session?.user?.email || session?.user?.name,
|
||||||
session
|
session
|
||||||
|
Loading…
Reference in New Issue
Block a user