Files
llama-swap/ui-svelte/src/stores/route.ts
T
Benson Wong e3bf065574 ui: persist playground state across route navigation (#525)
- Keep Playground component mounted when navigating away, preserving
streaming/generating state
- Add animated gradient effect on Playground nav link when activity is
in progress
2026-02-15 21:30:52 -08:00

4 lines
85 B
TypeScript

import { writable } from "svelte/store";
export const currentRoute = writable("/");