Skip to content

Commit

Permalink
introduces useActionForm
Browse files Browse the repository at this point in the history
  • Loading branch information
infiton committed Oct 16, 2023
1 parent 2dff659 commit f187ddf
Show file tree
Hide file tree
Showing 7 changed files with 1,562 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/api-client-core/spec/mockUrqlClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const newMockOperationFn = (assertions?: (request: GraphQLRequest) => void) => {
if (!subjects[key]) {
throw new Error(`No mock client subject started for key ${key}, options are ${Object.keys(subjects).join(", ")}`);
}

act(() => {
subjects[key].next({
operation: null as any,
Expand Down
1 change: 1 addition & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"dependencies": {
"@gadgetinc/api-client-core": "^0.15.11",
"react-fast-compare": "^3.2.2",
"react-hook-form": "^7.46.1",
"urql": "^4.0.4"
},
"resolutions": {
Expand Down
Loading

0 comments on commit f187ddf

Please sign in to comment.