forked from clan/clan-core
Webview: init global state for current clan path
This commit is contained in:
parent
149be249fa
commit
af19950dfa
@ -7,6 +7,12 @@ import { Toaster } from "solid-toast";
|
|||||||
// Global state
|
// Global state
|
||||||
const [route, setRoute] = createSignal<Route>("machines");
|
const [route, setRoute] = createSignal<Route>("machines");
|
||||||
|
|
||||||
|
const [currClanURI, setCurrClanURI] = createSignal<string>(
|
||||||
|
"/home/johannes/1_clans/myclan"
|
||||||
|
);
|
||||||
|
|
||||||
|
export { currClanURI, setCurrClanURI };
|
||||||
|
|
||||||
export { route, setRoute };
|
export { route, setRoute };
|
||||||
|
|
||||||
const App: Component = () => {
|
const App: Component = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user