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