Skip to content

Commit 06f6d0a

Browse files
authored
impr(settings): clarified 'reset settings' wording (@SamLonneman) (#6717)
### Description **`impr`** - Clarified description for "Reset Settings" feature, emphasizing that in addition to tags, settings presets are also preserved. **`refactor`** - the unused type `PresetName` was misspelled as `PresentName`.
1 parent 3f67893 commit 06f6d0a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

frontend/src/html/pages/settings.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1808,7 +1808,8 @@
18081808
</button>
18091809
</div>
18101810
<div class="text">
1811-
Resets settings to the default (but doesn't touch your tags).
1811+
Resets settings to the default (but doesn't touch your tags and
1812+
presets).
18121813
<br />
18131814
<span class="red">You can't undo this action!</span>
18141815
</div>

packages/contracts/src/schemas/presets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const PresetNameSchema = z
1010
.string()
1111
.regex(/^[0-9a-zA-Z_-]+$/)
1212
.max(16);
13-
export type PresentName = z.infer<typeof PresetNameSchema>;
13+
export type PresetName = z.infer<typeof PresetNameSchema>;
1414

1515
export const PresetTypeSchema = z.enum(["full", "partial"]);
1616
export type PresetType = z.infer<typeof PresetTypeSchema>;

0 commit comments

Comments
 (0)