Bug Fixes:

- Closes #42
- Closes #44
- Closes #45
This commit is contained in:
Shiny Nematoda 2022-10-08 11:02:28 +00:00
parent 5449523f2a
commit 7905394b26
No known key found for this signature in database
GPG key ID: 6506D50F5613A42D
7 changed files with 143 additions and 134 deletions

View file

@ -10,6 +10,14 @@ export function useRoute(l) {
history.pushState({}, '', l);
}
export function useWrap(txt) {
return encodeURIComponent(txt).replaceAll('%20', '+');
}
export function useUnwrap(txt) {
return decodeURIComponent(txt).replaceAll('+', ' ');
}
export function useStore() {
try {
return window.localStorage;