import { apps } from "app/src/webapp"
import { getState } from "@/session"

export default function () {
    const state = getState()
    if (!state) return { error: "no state" }

    return <>
        {apps().map(app => <a href={`#load ${app}`} class={app === state.project ? "magenta" : ""}>{app}</a>)}
    </>
}