fix(ui): remove shortcuts bar from Dashboard
This commit is contained in:
@@ -3,7 +3,6 @@ import { useParams, useNavigate, useSearchParams } from 'react-router'
|
|||||||
import { AlertTriangle, X, Search } from 'lucide-react'
|
import { AlertTriangle, X, Search } from 'lucide-react'
|
||||||
import {
|
import {
|
||||||
DataTable,
|
DataTable,
|
||||||
ShortcutsBar,
|
|
||||||
StatusDot,
|
StatusDot,
|
||||||
MonoText,
|
MonoText,
|
||||||
Badge,
|
Badge,
|
||||||
@@ -175,13 +174,6 @@ function buildBaseColumns(): Column<Row>[] {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
const SHORTCUTS = [
|
|
||||||
{ keys: 'Ctrl+K', label: 'Search' },
|
|
||||||
{ keys: '\u2191\u2193', label: 'Navigate rows' },
|
|
||||||
{ keys: 'Enter', label: 'Open detail' },
|
|
||||||
{ keys: 'Esc', label: 'Close panel' },
|
|
||||||
]
|
|
||||||
|
|
||||||
// ─── Dashboard component ─────────────────────────────────────────────────────
|
// ─── Dashboard component ─────────────────────────────────────────────────────
|
||||||
|
|
||||||
export default function Dashboard() {
|
export default function Dashboard() {
|
||||||
@@ -298,9 +290,6 @@ export default function Dashboard() {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Shortcuts bar */}
|
|
||||||
<ShortcutsBar shortcuts={SHORTCUTS} />
|
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user