Skip to content

Commit

Permalink
fix: favoritesActive deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Bellisario committed Jul 14, 2024
1 parent 55d33af commit 9655d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const query = writable('');

export const favoritesActive = localStorageWritable('favoritesActive', false, {
serialize: (value) => value.toString(),
deserialize: Boolean,
deserialize: (value) => value === 'true',
});
export const settingsActive = writable(false);

Expand Down

0 comments on commit 9655d7b

Please sign in to comment.