Add cancel/reset buttons for thumbnail edit

thrimbletrimmer-solid
ElementalAlchemist 2 weeks ago
parent a50d5d11b2
commit 26785b1958

@ -334,6 +334,7 @@ const ThumbnailManager: Component = () => {
</div>
<div>
<button type="submit">Submit</button>
<button type="button" onClick={(event) => setEditing(false)}>Cancel</button>
<ul class={styles.templateUpdateErrors}>
<For each={formErrors()}>
{(error: string, index: Accessor<number>) => <li>{error}</li>}
@ -466,6 +467,7 @@ const ThumbnailManager: Component = () => {
</span>
</div>
<button type="submit">Add Template</button>
<button type="reset">Reset</button>
</form>
<GoogleSignIn />
</>

Loading…
Cancel
Save