refactor(workspaces): use eye icon for view action

This commit is contained in:
2026-04-28 11:52:48 +03:30
parent fa242b6206
commit 5d313a9663

View File

@@ -1,6 +1,6 @@
import { useEffect, useState } from 'react';
import { useNavigate } from 'react-router-dom';
import { Plus, Trash2, Pencil, ChevronRight } from 'lucide-react';
import { Plus, Trash2, Pencil, Eye } from 'lucide-react';
import { toast } from 'sonner';
import { fetchWorkspaces, deleteWorkspace, type Workspace } from '../api/workspaces';
import { useTranslation } from '../hooks/useTranslation';
@@ -205,7 +205,7 @@ export default function Workspaces() {
className="h-8 w-8 hover:bg-blue-700 dark:hover:bg-blue-500 border-none shadow-sm transition-all"
title={t.actions?.view || 'View'}
>
<ChevronRight className="h-4 w-4 rtl:-scale-x-100" />
<Eye className="h-4 w-4 rtl:-scale-x-100" />
</Button>
</div>
</CardContent>