Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Sep 16, 2024
1 parent 7f439bb commit 360a168
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ export function App() {
},
});
if (info.name) {
const { env_files } = generateEnv({ [info.name]: info });
const canisters = { ...workplaceState.canisters, [info.name]: info };
const { env_files } = generateEnv(canisters);
Object.entries(env_files).forEach(([path, content]) => {
container.writeFile(`user/${path}`, content.file.contents);
});
Expand Down

0 comments on commit 360a168

Please sign in to comment.