@timardex/cluemart-shared 1.5.517 → 1.5.518
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/index.cjs +3 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +3 -0
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/hooks/index.cjs
CHANGED
|
@@ -5622,6 +5622,7 @@ function useSchoolForm(data) {
|
|
|
5622
5622
|
(0, import_react5.useEffect)(() => {
|
|
5623
5623
|
if (data) {
|
|
5624
5624
|
reset({
|
|
5625
|
+
_id: data._id,
|
|
5625
5626
|
active: data.active,
|
|
5626
5627
|
contactDetails: data.contactDetails,
|
|
5627
5628
|
location: data.location,
|
|
@@ -5638,6 +5639,7 @@ function useSchoolForm(data) {
|
|
|
5638
5639
|
}
|
|
5639
5640
|
}, [data]);
|
|
5640
5641
|
const {
|
|
5642
|
+
_id,
|
|
5641
5643
|
socialMedia: socialMedia2,
|
|
5642
5644
|
active,
|
|
5643
5645
|
contactDetails,
|
|
@@ -5652,6 +5654,7 @@ function useSchoolForm(data) {
|
|
|
5652
5654
|
return {
|
|
5653
5655
|
control,
|
|
5654
5656
|
fields: {
|
|
5657
|
+
_id,
|
|
5655
5658
|
active,
|
|
5656
5659
|
contactDetails,
|
|
5657
5660
|
location,
|