Fixed toaster, updated add conversation dialog

This commit is contained in:
Alois 2026-03-26 01:31:31 +01:00
commit 246b36abc9
3 changed files with 76 additions and 45 deletions

View file

@ -128,6 +128,13 @@ export const socket = {
}),
response: z.object({}),
},
add_conversation: {
request: z.object({
chat_partner_id: z.number().optional(),
chat_partner_name: z.string().min(1).max(15).optional(),
}),
response: z.object({}),
},
} satisfies Record<string, { request: z.ZodType; response: z.ZodType }>;
export type Socket = typeof socket;

View file

@ -26,9 +26,9 @@ const Toaster = ({ ...props }: ToasterProps) => {
}}
style={
{
"--normal-bg": "var(--popover)",
"--normal-text": "var(--popover-foreground)",
"--normal-border": "var(--border)",
"--normal-bg": "var(--color-popover)",
"--normal-text": "var(--color-popover-foreground)",
"--normal-border": "var(--color-border)",
"--border-radius": "var(--radius)",
} as React.CSSProperties
}