Tasks page implementation (#120)

This commit is contained in:
Salih Altun
2024-04-01 21:34:52 +03:00
committed by GitHub
parent 14ea1e2417
commit f175545399
55 changed files with 5040 additions and 41 deletions

View File

@@ -0,0 +1,19 @@
import { create } from "zustand";
type SettingsStore = {
environment: string;
organization: string;
setEnvironment: (environment: string) => void;
setOrganization: (organization: string) => void;
};
const useSettingsStore = create<SettingsStore>((set) => {
return {
environment: "local",
organization: "skyvern",
setEnvironment: (environment: string) => set({ environment }),
setOrganization: (organization: string) => set({ organization }),
};
});
export { useSettingsStore };