lucide delete icon
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Vercel Production Deployment / Deploy-Production (push) Successful in 1m33s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Vercel Production Deployment / Deploy-Production (push) Successful in 1m33s
				
			This commit is contained in:
		
							parent
							
								
									0bab29653a
								
							
						
					
					
						commit
						8a3d62a43d
					
				@ -1,3 +1,5 @@
 | 
			
		||||
import { Delete, LucideDelete } from "lucide-react";
 | 
			
		||||
import Image from "next/image";
 | 
			
		||||
import { deleteCountry } from "~/server/actions/deleteCountry";
 | 
			
		||||
import { db } from "~/server/db";
 | 
			
		||||
 | 
			
		||||
@ -10,7 +12,9 @@ export default async function AllCountries() {
 | 
			
		||||
        <div className="flex gap-1">
 | 
			
		||||
          <p key={country.id}>{country.name}</p>
 | 
			
		||||
          <form action={deleteCountry.bind(null, country.id)}>
 | 
			
		||||
            <button>❌</button>
 | 
			
		||||
            <button>
 | 
			
		||||
              <Delete />
 | 
			
		||||
            </button>
 | 
			
		||||
          </form>
 | 
			
		||||
        </div>
 | 
			
		||||
      ))}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user