mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 13:38:38 +00:00
fix: Reload preview cause to submit form
This commit is contained in:
@@ -906,6 +906,7 @@ function FooterField({ form, onResetField }: FormProps) {
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
setContent(formatFooterContent(form.watch("site.footer"), form.getValues("site")));
|
setContent(formatFooterContent(form.watch("site.footer"), form.getValues("site")));
|
||||||
}}
|
}}
|
||||||
|
type='button'
|
||||||
>
|
>
|
||||||
Reload Preview
|
Reload Preview
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user