Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Clutch
Commits
f14f1e55
Unverified
Commit
f14f1e55
authored
4 years ago
by
Derek
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
frontend: fix resolver schema data race condition (#903)
parent
d8ac77b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/packages/core/src/Resolver/input.tsx
+3
-1
frontend/packages/core/src/Resolver/input.tsx
with
3 additions
and
1 deletion
+3
-1
frontend/packages/core/src/Resolver/input.tsx
+
3
-
1
View file @
f14f1e55
...
...
@@ -82,7 +82,9 @@ const SchemaResolver = ({ schema, expanded, onClick, submitHandler }: SchemaReso
});
const
onChange
=
e
=>
{
setData
({
...
data
,
[
e
.
target
.
name
]:
e
.
target
.
value
});
setData
(
existing
=>
{
return
{
...
existing
,
[
e
.
target
.
name
]:
e
.
target
.
value
};
});
};
return
(
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment