diff --git a/frontend/src/components/resources/deployment/index.tsx b/frontend/src/components/resources/deployment/index.tsx
index 3114e35e1..39405dc4a 100644
--- a/frontend/src/components/resources/deployment/index.tsx
+++ b/frontend/src/components/resources/deployment/index.tsx
@@ -25,10 +25,9 @@ import { Card, CardHeader } from "@ui/card";
import { RunBuild } from "../build/actions";
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@ui/tabs";
import { DeploymentConfig } from "./config";
-import { atomWithStorage } from "jotai/utils";
-import { useAtom } from "jotai";
+import { useState } from "react";
-const configOrLog = atomWithStorage("config-or-log-v1", "Config");
+// const configOrLog = atomWithStorage("config-or-log-v1", "Config");
export const useDeployment = (id?: string) =>
useRead("ListDeployments", {}, { refetchInterval: 5000 }).data?.find(
@@ -36,7 +35,8 @@ export const useDeployment = (id?: string) =>
);
const ConfigOrLog = ({ id }: { id: string }) => {
- const [view, setView] = useAtom(configOrLog);
+ // const [view, setView] = useAtom(configOrLog);
+ const [view, setView] = useState("Config");
const state = useDeployment(id)?.info.state;
const logsDisabled =
state === undefined ||
diff --git a/frontend/src/components/resources/deployment/log.tsx b/frontend/src/components/resources/deployment/log.tsx
index bcd854a2e..7858ec734 100644
--- a/frontend/src/components/resources/deployment/log.tsx
+++ b/frontend/src/components/resources/deployment/log.tsx
@@ -130,7 +130,11 @@ const NoSearchLogs = (id: string, tail: string, stream: string) => {
{ refetchInterval: 30000 }
);
return {
- Log: