8 lines
179 B
TypeScript
8 lines
179 B
TypeScript
import { getState } from "@/session"
|
|
|
|
export default function () {
|
|
const state = getState()
|
|
if (!state) return { error: "no state" }
|
|
|
|
return state?.project || "none"
|
|
} |