mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: clean up code formatting and improve readability in swarm dashboard
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { ShowSwarm } from "@/components/dashboard/swarm/show/node-list";
|
||||
import ShowSwarmNodes from "@/components/dashboard/swarm/show/show-nodes";
|
||||
import { DashboardLayout } from "@/components/layouts/dashboard-layout";
|
||||
import { appRouter } from "@/server/api/root";
|
||||
@@ -18,7 +17,7 @@ Dashboard.getLayout = (page: ReactElement) => {
|
||||
return <DashboardLayout tab={"swarm"}>{page}</DashboardLayout>;
|
||||
};
|
||||
export async function getServerSideProps(
|
||||
ctx: GetServerSidePropsContext<{ serviceId: string }>
|
||||
ctx: GetServerSidePropsContext<{ serviceId: string }>,
|
||||
) {
|
||||
if (IS_CLOUD) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user