Fix compilation and runtime errors

This commit is contained in:
Francisco Pessano
2025-07-13 21:01:10 -03:00
committed by GitHub
parent a5f0f63a9c
commit b03c2ec0c8
2 changed files with 48 additions and 47 deletions

View File

@@ -64,6 +64,7 @@ export function ProjectCard({ project, onSeenStatusChange }: ProjectCardProps) {
{/* Project Actions */} {/* Project Actions */}
<div className="flex items-center justify-between"> <div className="flex items-center justify-between">
<>
<div className="flex items-center space-x-4"> <div className="flex items-center space-x-4">
{/* Project URL */} {/* Project URL */}
{project.project_url && ( {project.project_url && (
@@ -111,6 +112,7 @@ export function ProjectCard({ project, onSeenStatusChange }: ProjectCardProps) {
</> </>
)} )}
</Button> </Button>
</>
</div> </div>
{/* Engagement Stats */} {/* Engagement Stats */}

View File

@@ -12,7 +12,6 @@ import {
} from '@tanstack/react-table'; } from '@tanstack/react-table';
import { ArrowUpDown, ArrowUp, ArrowDown, Search, ExternalLink, Twitter, Check, X } from 'lucide-react'; import { ArrowUpDown, ArrowUp, ArrowDown, Search, ExternalLink, Twitter, Check, X } from 'lucide-react';
import { formatDistanceToNow } from 'date-fns'; import { formatDistanceToNow } from 'date-fns';
import { useState, useEffect } from 'react';
import type { TwitterProject } from '@/lib/csv-loader'; import type { TwitterProject } from '@/lib/csv-loader';
import { Button } from './ui/button'; import { Button } from './ui/button';
import { Input } from './ui/input'; import { Input } from './ui/input';