9 lines
159 B
JavaScript
9 lines
159 B
JavaScript
|
import { writable } from 'svelte/store';
|
||
|
|
||
|
|
||
|
export const currentView = writable('Home');
|
||
|
|
||
|
export function navigate(viewName) {
|
||
|
currentView.set(viewName);
|
||
|
}
|