mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-07 19:18:52 +01:00
🌍 i18n: Add multi-language support for Terms of Service and update modal content
This commit is contained in:
parent
9db00edfc4
commit
b7a6d7caa6
9 changed files with 172 additions and 66 deletions
|
|
@ -454,7 +454,6 @@ const termsOfServiceSchema = z.object({
|
|||
openNewTab: z.boolean().optional(),
|
||||
modalAcceptance: z.boolean().optional(),
|
||||
modalTitle: z.string().optional(),
|
||||
modalContent: z.string().or(z.array(z.string())).optional(),
|
||||
});
|
||||
|
||||
export type TTermsOfService = z.infer<typeof termsOfServiceSchema>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue