Skip to content

Commit

Permalink
Swap default toggle state to 'not toggled', adjust awsestimate
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Mar 5, 2024
1 parent 228a3ac commit 805b675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/composables/persistentToggle.ts
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ interface ToggleStateInterface {

export function usePersistentToggle(uniqueId: string): ToggleStateInterface {
const localStorageKey = `toggle-state-${uniqueId}`;
const toggled = useUserLocalStorage(localStorageKey, true);
const toggled = useUserLocalStorage(localStorageKey, false);

// Expose a function for toggling state
const toggle = () => {

0 comments on commit 805b675

Please sign in to comment.