Skip to content

Commit

Permalink
Merge pull request #16 from tanmoysrt/fix_deploy_app_btn
Browse files Browse the repository at this point in the history
fix: deploy now button not cklickable
  • Loading branch information
tanmoysrt authored Aug 19, 2023
2 parents c8bfc1c + e47698c commit e6df22b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/deployed_application_management.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ export default function DeployedApplicationManagementPage() {
navigate(`/application/${id}`);
};

const deployNewApplication = () => {
navigate("/application/deploy");
}

useEffect(() => {
fetchApplicationsSummary();
// eslint-disable-next-line react-hooks/exhaustive-deps
Expand Down Expand Up @@ -90,7 +94,7 @@ export default function DeployedApplicationManagementPage() {
Deploy your application within minutes 🔥
</Text>

<Button colorScheme="brand" w="fit-content" variant="solid">
<Button colorScheme="brand" w="fit-content" variant="solid" onClick={deployNewApplication}>
Deploy Application
</Button>
</Box>
Expand Down

0 comments on commit e6df22b

Please sign in to comment.