summaryrefslogtreecommitdiff
path: root/apps/web/lib/queries/use-entry-state-mutations.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-07 02:00:59 -0800
committerFuwn <[email protected]>2026-02-07 02:00:59 -0800
commitf93bad7da47093a12116ff0f390abb548289b600 (patch)
treee2a9debcca3473af8f293c3215704549e5bde17f /apps/web/lib/queries/use-entry-state-mutations.ts
parentstyle: format Go worker with iku (diff)
downloadasa.news-f93bad7da47093a12116ff0f390abb548289b600.tar.xz
asa.news-f93bad7da47093a12116ff0f390abb548289b600.zip
style: lowercase all user-facing strings and add custom eslint rule
Comprehensive sweep of all user-facing text to enforce lowercase convention, including acronyms (api, rest, http, opml, json, totp, mfa, qr, hmac). Added asa-lowercase/lowercase-strings eslint rule that reports uppercase in notify() calls, error messages, jsx text, and checked attributes (placeholder, alt, title).
Diffstat (limited to 'apps/web/lib/queries/use-entry-state-mutations.ts')
-rw-r--r--apps/web/lib/queries/use-entry-state-mutations.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/lib/queries/use-entry-state-mutations.ts b/apps/web/lib/queries/use-entry-state-mutations.ts
index 5f79fc0..a8c72d0 100644
--- a/apps/web/lib/queries/use-entry-state-mutations.ts
+++ b/apps/web/lib/queries/use-entry-state-mutations.ts
@@ -22,7 +22,7 @@ export function useToggleEntryReadState() {
data: { user },
} = await supabaseClient.auth.getUser()
- if (!user) throw new Error("Not authenticated")
+ if (!user) throw new Error("not authenticated")
const { error } = await supabaseClient
.from("user_entry_states")
@@ -88,7 +88,7 @@ export function useToggleEntrySavedState() {
data: { user },
} = await supabaseClient.auth.getUser()
- if (!user) throw new Error("Not authenticated")
+ if (!user) throw new Error("not authenticated")
const { error } = await supabaseClient
.from("user_entry_states")