Skip to content

Commit

Permalink
remove reason from modelcreatemodal
Browse files Browse the repository at this point in the history
  • Loading branch information
mapmeld committed Dec 14, 2023
1 parent 888bf6f commit f5abf08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webui/react/src/components/ModelCreateModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ type FormInputs = {
};

interface Props {
// TODO: we should be able to remove `reason` from onClose props after modal migration
onClose?: (reason?: string, checkpoints?: string[], modelName?: string) => void;
onClose?: (checkpoints?: string[], modelName?: string) => void;
workspaceId?: number;
}

Expand Down

0 comments on commit f5abf08

Please sign in to comment.