Skip to content

Commit 84db88b

Browse files
author
Ruben van Leeuwen
committed
2076: Fix comment
1 parent cbe2019 commit 84db88b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frontend/packages/pydantic-forms/src/core/PydanticFormContextProvider.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,7 @@ function PydanticFormContextProvider({
255255
return;
256256
}
257257

258-
// when we receive a form from the JSON, we fully reset the scheme
259-
// when we receive a new form from the JSON, we fully reset the scheme
258+
// when we receive a new form from JSON, we fully reset the form
260259
if (apiResponse?.form && rawSchema !== apiResponse.form) {
261260
resetFormData();
262261
setRawSchema(apiResponse.form);

0 commit comments

Comments
 (0)