Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

360 B
Raw Blame
import { create } from "zustand";

type InstanceNameStore = {
  instanceName: string;
  setInstanceName: (instanceName: string) => void;
};

/** The instance name from config, for page titles. */
export const useInstanceNameStore = create<InstanceNameStore>((set) => ({
  instanceName: "Kaneo",
  setInstanceName: (instanceName) => set({ instanceName }),
}));