field-form icon indicating copy to clipboard operation
field-form copied to clipboard

fix: assign distinct initial values to both `errors` and `warnings` to prevent `isEqual` from encountering circular references

Open jackblackevo opened this issue 1 year ago • 1 comments

Introduce a new constant EMPTY_WARNINGS for use with warnings to avoid both errors and warnings pointing to the same array reference.

新增一個 EMPTY_WARNINGSwarnings 使用,以避免 errorswarnings 指向同一個 array reference。

fix #649

jackblackevo avatar Feb 23 '24 17:02 jackblackevo

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
field-form ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 23, 2024 5:02pm

vercel[bot] avatar Feb 23 '24 17:02 vercel[bot]