refactor(workspaces): use eye icon for view action
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import { useNavigate } from 'react-router-dom';
|
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 { toast } from 'sonner';
|
||||||
import { fetchWorkspaces, deleteWorkspace, type Workspace } from '../api/workspaces';
|
import { fetchWorkspaces, deleteWorkspace, type Workspace } from '../api/workspaces';
|
||||||
import { useTranslation } from '../hooks/useTranslation';
|
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"
|
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'}
|
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>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user