Fixed toaster, updated add conversation dialog
This commit is contained in:
parent
9deffbb099
commit
246b36abc9
3 changed files with 76 additions and 45 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue