chore: generate
This commit is contained in:
@@ -1348,7 +1348,9 @@ body[data-new-layout] [data-component="user-message"] {
|
||||
[data-component="button-v2"] {
|
||||
font-family: var(--v2-font-family-sans, "Inter", sans-serif);
|
||||
font-weight: 530;
|
||||
font-variation-settings: "wght" 530, "slnt" 0;
|
||||
font-variation-settings:
|
||||
"wght" 530,
|
||||
"slnt" 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1176,9 +1176,7 @@ export function ContextToolGroup(props: {
|
||||
function UserMessageComments(props: { comments: UserMessageComment[]; bounded: boolean }) {
|
||||
const i18n = useI18n()
|
||||
const [state, setState] = createStore({ expanded: false })
|
||||
const comments = createMemo(() =>
|
||||
props.bounded && !state.expanded ? props.comments.slice(0, 5) : props.comments,
|
||||
)
|
||||
const comments = createMemo(() => (props.bounded && !state.expanded ? props.comments.slice(0, 5) : props.comments))
|
||||
|
||||
return (
|
||||
<div data-slot="user-message-comments" data-bounded={props.bounded ? "true" : undefined}>
|
||||
|
||||
Reference in New Issue
Block a user