@@ -12,8 +12,6 @@ export const useGithubWorkflow = (appData: any, hasBuiltImage: boolean) => {
return useQuery(
[`checkForApplicationWorkflow_${fileName}`, currentProject?.id, currentCluster?.id, githubWorkflowFilename, appData, hasBuiltImage],
async () => {
- console.log("checking for workflow file", fileName)
- console.log("here is the github workflow name", githubWorkflowFilename)
if (githubWorkflowFilename !== "") {
return githubWorkflowFilename;
}
@@ -9,9 +9,8 @@ export const useHasBuiltImage = (appName: string | undefined) => {
const [hasBuiltImage, setHasBuiltImage] = useState<boolean>(false);
const { data } = useQuery(
- ["checkForBuiltImage", currentProject?.id, currentCluster?.id],
+ ["checkForBuiltImage", currentProject?.id, currentCluster?.id, hasBuiltImage],
- console.log("checking for built image")
if (hasBuiltImage) {
return true;
@@ -300,7 +300,7 @@ const StatusFooter: React.FC<Props> = ({
replicaSetArray.map((replicaSet, i) => {
return (
<StatusFooterContainer key={i}>
- <StyledStatusFooterTop key={i} expanded={expanded}>
+ <StyledStatusFooterTop expanded={expanded}>
<StyledContainer row spaced>
{replicaSet.some((r) => r.crashLoopReason != "") || replicaSet.some((r) => r.failing) ? (
<>