Skip to content

Commit bef4fc5

Browse files
committed
fix: use sentence case for dialog headers and buttons to match codebase convention
1 parent 5f3b776 commit bef4fc5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/webapp/app/components/admin/FeatureFlagsDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export function FeatureFlagsDialog({
228228
onClick={handleSave}
229229
disabled={!isDirty || isSaving}
230230
>
231-
{isSaving ? "Saving..." : "Save Changes"}
231+
{isSaving ? "Saving..." : "Save changes"}
232232
</Button>
233233
</DialogFooter>
234234
</DialogContent>

apps/webapp/app/routes/admin.feature-flags.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export default function AdminFeatureFlagsRoute() {
295295
onClick={() => setConfirmOpen(true)}
296296
disabled={!isDirty || isSaving}
297297
>
298-
Review Changes
298+
Review changes
299299
</Button>
300300
</div>
301301
</div>
@@ -423,7 +423,7 @@ function ConfirmDialog({
423423
return (
424424
<Dialog open={open} onOpenChange={onOpenChange}>
425425
<DialogContent className="sm:max-w-lg">
426-
<DialogHeader>Confirm Feature Flag Changes</DialogHeader>
426+
<DialogHeader>Confirm feature flag changes</DialogHeader>
427427
<DialogDescription>
428428
These changes affect all organizations globally. Please review carefully.
429429
</DialogDescription>
@@ -464,7 +464,7 @@ function ConfirmDialog({
464464
onClick={onConfirm}
465465
disabled={isSaving || changes.length === 0}
466466
>
467-
{isSaving ? "Saving..." : "Apply Changes"}
467+
{isSaving ? "Saving..." : "Apply changes"}
468468
</Button>
469469
</DialogFooter>
470470
</DialogContent>

0 commit comments

Comments
 (0)