mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-25 19:52:48 +00:00
Update EmailTemplateEditor.tsx
This commit is contained in:
parent
0f99134e8d
commit
f00e2a3821
|
|
@ -180,7 +180,10 @@ const EmailTemplateEditor: React.FC<EmailTemplateEditorProps> = ({ value, onChan
|
|||
</Typography>
|
||||
{index != 0 && (
|
||||
<Box>
|
||||
<SecondaryButton variant="contained" onClick={() => setPreferredLanguage(index)}>
|
||||
<SecondaryButton
|
||||
variant="contained"
|
||||
onClick={() => (setPreferredLanguage(index))}
|
||||
>
|
||||
{t("settings.setAsPreferredLanguage")}
|
||||
</SecondaryButton>
|
||||
</Box>
|
||||
|
|
|
|||
Loading…
Reference in New Issue