mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	Merge pull request #303 from leedom92/add-confirm-when-remove-chatitem
feat: add confirm tips when deleting conversation on pc
This commit is contained in:
		@@ -121,7 +121,7 @@ export function ChatList() {
 | 
			
		||||
          key={i}
 | 
			
		||||
          selected={i === selectedIndex}
 | 
			
		||||
          onClick={() => selectSession(i)}
 | 
			
		||||
          onDelete={() => removeSession(i)}
 | 
			
		||||
          onDelete={() => confirm(Locale.Home.DeleteChat) && removeSession(i)}
 | 
			
		||||
        />
 | 
			
		||||
      ))}
 | 
			
		||||
    </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user