feat: add route indicator
This commit is contained in:
1 parent
8d03d105e2
commit
380fa48ffb
5 files changed
+54
-5
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import { writable } from 'svelte/store'
|
||||
|
||||
interface SessionStorage {
|
||||
lastSeenCommunity: // prettier-ignore
|
||||
{
|
||||
@@ -33,3 +35,9 @@ export const getSessionStorage = (
|
||||
): SessionStorage[typeof key] => {
|
||||
return JSON.parse(sessionStorage.getItem(key)!)
|
||||
}
|
||||
|
||||
interface Route {
|
||||
title: string
|
||||
}
|
||||
|
||||
export const route = writable<Route | undefined>(undefined)
|
||||
Reference in new issue
Block a user