forked from XiaoMo/ChatGPT-Next-Web
refactor: Fix undefined className in ListItem
This commit is contained in:
parent
bb3f6ee086
commit
96d2f05eb7
@ -42,7 +42,7 @@ export function ListItem(props: {
|
||||
className?: string;
|
||||
}) {
|
||||
return (
|
||||
<div className={styles["list-item"] + ` ${props.className}`}>
|
||||
<div className={styles["list-item"] + ` ${props.className || ""}`}>
|
||||
<div className={styles["list-header"]}>
|
||||
{props.icon && <div className={styles["list-icon"]}>{props.icon}</div>}
|
||||
<div className={styles["list-item-title"]}>
|
||||
|
Loading…
Reference in New Issue
Block a user