chore: replace em dashes with hyphens, add no-em-dash rule to CLAUDE.md
This commit is contained in:
@@ -132,8 +132,8 @@ function ProviderRow({ p }: { p: AuthProvider }) {
|
||||
onSuccess: (_data, patch) => {
|
||||
setSecret("");
|
||||
invalidate();
|
||||
// The lockout guard answers 409 here — the last way in cannot be
|
||||
// switched off — so the outcome of this toggle is worth stating
|
||||
// The lockout guard answers 409 here - the last way in cannot be
|
||||
// switched off - so the outcome of this toggle is worth stating
|
||||
// rather than leaving to a checkbox that may have sprung back.
|
||||
toast.success(patch.client_secret ? `Client secret updated for ${p.name}.` : patch.enabled ? `${p.name} enabled.` : `${p.name} disabled.`);
|
||||
},
|
||||
|
||||
@@ -85,7 +85,7 @@ export function MembersCard() {
|
||||
});
|
||||
|
||||
// Removal failures are shown inside the confirm dialog that raised them, so
|
||||
// only the inline role change lands here — otherwise the same sentence
|
||||
// only the inline role change lands here - otherwise the same sentence
|
||||
// appears twice on screen.
|
||||
const actionError = roleError as Error | null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user