add buttons to custom model menu items

This commit is contained in:
Daniel Avila 2023-03-06 21:43:49 -05:00
parent 6d757ff91f
commit 191118b90b
4 changed files with 41 additions and 8 deletions

View file

@ -20,7 +20,6 @@ export default function ModelDialog({ mutate, modelMap, setModelSave, handleSave
const dispatch = useDispatch();
const [chatGptLabel, setChatGptLabel] = useState('');
const [promptPrefix, setPromptPrefix] = useState('');
const [saveText, setSaveText] = useState('Save');
const [required, setRequired] = useState(false);
const inputRef = useRef(null);