fix: update handleChange to use optional chaining and add "use client" directive in Connect component
This commit is contained in:
@@ -23,7 +23,7 @@ function Field({
|
|||||||
placeholder={isPlaceHolder && title}
|
placeholder={isPlaceHolder && title}
|
||||||
className="!w-full !mx-auto !bg-[#FFF]"
|
className="!w-full !mx-auto !bg-[#FFF]"
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
handleChange(name || "", e.target.value);
|
handleChange?.(name || "", e.target.value);
|
||||||
}}
|
}}
|
||||||
sx={{
|
sx={{
|
||||||
"& .MuiFormLabel-root": {
|
"& .MuiFormLabel-root": {
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
import ArrowLeftC from "../icons/ArrowLeftC";
|
import ArrowLeftC from "../icons/ArrowLeftC";
|
||||||
import { Button } from "@mui/material";
|
import { Button } from "@mui/material";
|
||||||
import FieldLabel from "./FieldLabel";
|
import FieldLabel from "./FieldLabel";
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Graph Report - nobat724_front (2026-07-08)
|
# Graph Report - nobat724_front (2026-07-08)
|
||||||
|
|
||||||
## Corpus Check
|
## Corpus Check
|
||||||
- 594 files · ~536,084 words
|
- 594 files · ~536,128 words
|
||||||
- Verdict: corpus is large enough that graph structure adds value.
|
- Verdict: corpus is large enough that graph structure adds value.
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
- Token cost: 0 input · 0 output
|
- Token cost: 0 input · 0 output
|
||||||
|
|
||||||
## Graph Freshness
|
## Graph Freshness
|
||||||
- Built from commit: `082f54cf`
|
- Built from commit: `ee47b535`
|
||||||
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
||||||
- Run `graphify update .` after code changes (no API cost).
|
- Run `graphify update .` after code changes (no API cost).
|
||||||
|
|
||||||
|
|||||||
@@ -4417,7 +4417,7 @@
|
|||||||
"label": "Connect()",
|
"label": "Connect()",
|
||||||
"file_type": "code",
|
"file_type": "code",
|
||||||
"source_file": "components/contactUs/Connect.js",
|
"source_file": "components/contactUs/Connect.js",
|
||||||
"source_location": "L6",
|
"source_location": "L8",
|
||||||
"_origin": "ast",
|
"_origin": "ast",
|
||||||
"id": "contactus_connect_connect",
|
"id": "contactus_connect_connect",
|
||||||
"community": 14,
|
"community": 14,
|
||||||
@@ -41136,5 +41136,5 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"hyperedges": [],
|
"hyperedges": [],
|
||||||
"built_at_commit": "082f54cf4dcb0982ebaee688c1418f7fa720c190"
|
"built_at_commit": "ee47b535d878f1744ea163606a0d759167dd0a36"
|
||||||
}
|
}
|
||||||
@@ -295,8 +295,8 @@
|
|||||||
"semantic_hash": ""
|
"semantic_hash": ""
|
||||||
},
|
},
|
||||||
"app/component/fields/Field.js": {
|
"app/component/fields/Field.js": {
|
||||||
"mtime": 1760953552.2275724,
|
"mtime": 1783522402.6345248,
|
||||||
"ast_hash": "70f08f1fdc86ff961332df235cf164e6",
|
"ast_hash": "1b94bb66aebb42eb9990c2b70ad72235",
|
||||||
"semantic_hash": ""
|
"semantic_hash": ""
|
||||||
},
|
},
|
||||||
"app/component/fields/FieldIcon.js": {
|
"app/component/fields/FieldIcon.js": {
|
||||||
@@ -935,8 +935,8 @@
|
|||||||
"semantic_hash": ""
|
"semantic_hash": ""
|
||||||
},
|
},
|
||||||
"components/contactUs/Connect.js": {
|
"components/contactUs/Connect.js": {
|
||||||
"mtime": 1783519228.5657191,
|
"mtime": 1783522389.3705227,
|
||||||
"ast_hash": "597a45afd5d84b62a7ed191822e6332e",
|
"ast_hash": "8846794c11d16abe52d92db5ebb6d864",
|
||||||
"semantic_hash": ""
|
"semantic_hash": ""
|
||||||
},
|
},
|
||||||
"components/contactUs/ContentContact.js": {
|
"components/contactUs/ContentContact.js": {
|
||||||
|
|||||||
Reference in New Issue
Block a user