mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-25 14:24:24 +00:00
chore: remove duplicated create button
This commit is contained in:
@@ -95,13 +95,9 @@ const Home: React.FC = () => {
|
|||||||
loading
|
loading
|
||||||
</div>
|
</div>
|
||||||
) : filteredShortcutList.length === 0 ? (
|
) : filteredShortcutList.length === 0 ? (
|
||||||
<div className="py-4 w-full flex flex-col justify-center items-center">
|
<div className="py-16 w-full flex flex-col justify-center items-center">
|
||||||
<Icon.PackageOpen className="w-12 h-auto text-gray-400" />
|
<Icon.PackageOpen className="w-16 h-auto text-gray-400" />
|
||||||
<p className="mt-4 mb-2">No shortcuts found.</p>
|
<p className="mt-4">No shortcuts found.</p>
|
||||||
<Button size="sm" onClick={() => setShowCreateShortcutDialog(true)}>
|
|
||||||
<Icon.Plus className="w-5 h-auto mr-1" />
|
|
||||||
Create
|
|
||||||
</Button>
|
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<ShortcutListView shortcutList={filteredShortcutList} />
|
<ShortcutListView shortcutList={filteredShortcutList} />
|
||||||
|
Reference in New Issue
Block a user