Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
apps/containers: Dismiss manual install popup on success
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Guidée <[email protected]>
  • Loading branch information
quentinguidee committed Jan 21, 2024
1 parent 68d5024 commit bc87e2b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ export default function ManualInstallPopup(props: Readonly<Props>) {
const [image, setImage] = useState<string>();

const { createContainer, isCreatingContainer, errorCreatingContainer } =
useCreateContainer({});
useCreateContainer({
onSuccess: dismiss,
});

const create = () => createContainer({ image });

Expand Down

0 comments on commit bc87e2b

Please sign in to comment.