Skip to content

Commit 49acb11

Browse files
authored
fix: remove unnecessary type assertion on props.class (#75)
1 parent cc322b7 commit 49acb11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/elements/src/message/Message.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const props = defineProps<Props>()
1717
cn(
1818
'group flex w-full max-w-[80%] gap-2',
1919
props.from === 'user' ? 'is-user ml-auto justify-end' : 'is-assistant',
20-
props.class as string,
20+
props.class,
2121
)
2222
"
2323
v-bind="$attrs"

0 commit comments

Comments
 (0)