mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	Merge pull request #1742 from wsw2000/refactor/listitem-undefined-classname
refactor: Fix undefined className in ListItem
This commit is contained in:
		@@ -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"]}>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user