mirror of
https://github.com/stashapp/stash.git
synced 2026-02-08 16:31:52 +01:00
Remove unused onSaveAndNewClick function
The onSaveAndNewClick function was defined but never called anywhere in the StudioEditPanel component. There is no "Save and New" button in the UI that would invoke this function, causing a TypeScript lint error. Changes: - Remove onSaveAndNewClick function definition This fixes the @typescript-eslint/no-unused-vars lint error at line 152.
This commit is contained in:
parent
58ba5b9862
commit
edcf66c2f5
1 changed files with 0 additions and 5 deletions
|
|
@ -149,11 +149,6 @@ export const StudioEditPanel: React.FC<IStudioEditPanel> = ({
|
|||
setIsLoading(false);
|
||||
}
|
||||
|
||||
async function onSaveAndNewClick() {
|
||||
const input = schema.cast(formik.values);
|
||||
onSave(input, true);
|
||||
}
|
||||
|
||||
function onImageLoad(imageData: string | null) {
|
||||
formik.setFieldValue("image", imageData);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue