edit and re publist
This commit is contained in:
parent
cecda51e10
commit
712843527b
|
|
@ -1,3 +1,3 @@
|
|||
VITE_APP_NAME = 'Admin'
|
||||
|
||||
VITE_BASE_URL = 'http://10.20.2.227:4000/api/v1/'
|
||||
VITE_BASE_URL = 'http://localhost:4000/api/v1/'
|
||||
|
|
@ -4,3 +4,5 @@
|
|||
# React Router
|
||||
/.react-router/
|
||||
/build/
|
||||
|
||||
.env
|
||||
|
|
|
|||
|
|
@ -714,7 +714,7 @@ export default function ProductModal({
|
|||
onClick={form.handleSubmit(onSubmit)}
|
||||
disabled={form.formState.isSubmitting}
|
||||
>
|
||||
{form.formState.isSubmitting ? (
|
||||
{form.formState.isSubmitting || actionMutation.isPending ? (
|
||||
<Loader color="white" />
|
||||
) : data ? (
|
||||
"Save"
|
||||
|
|
|
|||
Loading…
Reference in New Issue