6 lines
178 B
TypeScript
6 lines
178 B
TypeScript
import { cookies } from "next/headers"
|
|
|
|
export const isSignedIn = () => {
|
|
const cookieList = cookies()
|
|
return cookieList.has("drift-token") && cookieList.has("drift-userid")
|
|
}
|