From a223357ef1de14ad4eb89314dce2d55bc514ddf0 Mon Sep 17 00:00:00 2001 From: karamvir Date: Fri, 11 Aug 2023 01:36:34 -0700 Subject: [PATCH] more cleanup --- frontend/src/components/config/util.tsx | 1 + .../src/resources/build/components/config.tsx | 18 ++---------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/frontend/src/components/config/util.tsx b/frontend/src/components/config/util.tsx index acc605451..014913dcf 100644 --- a/frontend/src/components/config/util.tsx +++ b/frontend/src/components/config/util.tsx @@ -108,6 +108,7 @@ export const DoubleInput = < }; type UsableResources = Exclude; + export const ResourceSelector = ({ type, selected, diff --git a/frontend/src/resources/build/components/config.tsx b/frontend/src/resources/build/components/config.tsx index d908d2653..c84f730b7 100644 --- a/frontend/src/resources/build/components/config.tsx +++ b/frontend/src/resources/build/components/config.tsx @@ -59,7 +59,7 @@ const BuildConfigInner = ({ /> )} - {/* Networking Config */} + {/* Repo Config */} {show === "repo" && ( )} - {/* Environment Config */} + {/* Docker Config */} {show === "docker" && ( )} - - {/* Environment Config - {show === "volumes" && ( - set((p) => ({ ...p, ...u }))} - components={{ - volumes: (value, set) => ( - - ), - }} - /> - )} */}