Răsfoiți Sursa

remove props from connectnewrepo

Alexander Belanger 4 ani în urmă
părinte
comite
ab410b54b5

+ 1 - 1
dashboard/src/main/home/cluster-dashboard/dashboard/preview-environments/components/ConnectNewRepo.tsx

@@ -16,7 +16,7 @@ import { useRouting } from "shared/routing";
 const porterYamlDocsLink =
   "https://docs.porter.run/preview-environments/porter-yaml-reference";
 
-const ConnectNewRepo: React.FC = (props) => {
+const ConnectNewRepo: React.FC = () => {
   const { currentProject, currentCluster, setCurrentError } = useContext(
     Context
   );