feat: changelog.md

This commit is contained in:
Timothy J. Baek 2024-02-23 00:30:26 -08:00
parent 9b27d952f8
commit 9f950aea9c
13 changed files with 237 additions and 154 deletions

View file

@ -32,16 +32,3 @@ export const documents = writable([
export const settings = writable({});
export const showSettings = writable(false);
function createLocalStorageStore(key, startValue) {
const storedValue = localStorage.getItem(key);
const initialValue = storedValue ? JSON.parse(storedValue) : startValue;
const store = writable(initialValue);
store.subscribe((value) => {
localStorage.setItem(key, JSON.stringify(value));
});
return store;
}
export const showWhatsChanged = createLocalStorageStore('showWhatsChanged', true);