remove second deploy button

This commit is contained in:
Shams mosowi
2021-07-27 13:50:38 +10:00
parent 6a33fd76b8
commit e2696d6a90
2 changed files with 4 additions and 14 deletions

View File

@@ -35,20 +35,6 @@ export default function BuilderInstaller({ handleClose }: IProjectSettings) {
</Typography>
<br />
<Button
variant="contained"
endIcon={<OpenInNewIcon />}
onClick={() => {
window.open(
"https://deploy.cloud.run/?git_repo=https://github.com/FiretableProject/FunctionsBuilder.git",
"_blank"
);
}}
>
Deploy
</Button>
<br />
<Box
display="flex"
justifyContent="center"

View File

@@ -40,6 +40,10 @@ export default function ProjectSettings({
const onOpenBuilderInstaller = () => {
handleClose();
window.open(
"https://deploy.cloud.run/?git_repo=https://github.com/FiretableProject/FunctionsBuilder.git",
"_blank"
);
handleOpenBuilderInstaller();
};