mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
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`.
This commit is contained in:
parent
3f678932f8
commit
06f6d0ab53
2 changed files with 3 additions and 2 deletions
|
|
@ -1808,7 +1808,8 @@
|
|||
</button>
|
||||
</div>
|
||||
<div class="text">
|
||||
Resets settings to the default (but doesn't touch your tags).
|
||||
Resets settings to the default (but doesn't touch your tags and
|
||||
presets).
|
||||
<br />
|
||||
<span class="red">You can't undo this action!</span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ export const PresetNameSchema = z
|
|||
.string()
|
||||
.regex(/^[0-9a-zA-Z_-]+$/)
|
||||
.max(16);
|
||||
export type PresentName = z.infer<typeof PresetNameSchema>;
|
||||
export type PresetName = z.infer<typeof PresetNameSchema>;
|
||||
|
||||
export const PresetTypeSchema = z.enum(["full", "partial"]);
|
||||
export type PresetType = z.infer<typeof PresetTypeSchema>;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue