mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-15 10:55:23 +02:00
refactor: make command globally available
This commit is contained in:
@@ -36,7 +36,6 @@ import { Fragment } from "react";
|
||||
import { toast } from "sonner";
|
||||
import { ProjectEnviroment } from "./project-enviroment";
|
||||
import { UpdateProject } from "./update";
|
||||
import { SearchCommand } from "@/components/dashboard/search-command";
|
||||
|
||||
export const ShowProjects = () => {
|
||||
const utils = api.useUtils();
|
||||
@@ -54,9 +53,6 @@ export const ShowProjects = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
{/*@ts-expect-error Type mismatch*/}
|
||||
<SearchCommand data={data} />
|
||||
|
||||
{data?.length === 0 && (
|
||||
<div className="mt-6 flex h-[50vh] w-full flex-col items-center justify-center space-y-4">
|
||||
<FolderInput className="size-10 md:size-28 text-muted-foreground" />
|
||||
|
||||
Reference in New Issue
Block a user