Skip to content

Commit

Permalink
properly pipe app name into hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
David Townley authored and David Townley committed Sep 19, 2023
1 parent b7abbee commit 1825f68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dashboard/src/lib/hooks/usePorterYaml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,12 @@ export const usePorterYaml = ({
const detectServices = useCallback(
async ({
b64Yaml,
appName,
projectId,
clusterId,
}: {
b64Yaml: string;
appName: string;
projectId: number;
clusterId: number;
}) => {
Expand Down Expand Up @@ -149,6 +151,7 @@ export const usePorterYaml = ({
if (data) {
detectServices({
b64Yaml: data,
appName: appName,
projectId: currentProject.id,
clusterId: currentCluster.id,
});
Expand Down

0 comments on commit 1825f68

Please sign in to comment.