We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2db274d commit 17d6f0fCopy full SHA for 17d6f0f
examples/manager/src/components/Deals.tsx
@@ -31,7 +31,9 @@ export const Deals = () => {
31
if (!node) {
32
return;
33
}
34
- const { records } = await node.deals.getAll.query({}) as PaginatedDealRecords;
+ const { records } = (await node.deals.getAll.query(
35
+ {},
36
+ )) as PaginatedDealRecords;
37
console.log('Deals:', records);
38
setDeals(records);
39
}, [node]);
packages/react/vite.config.ts
@@ -17,6 +17,7 @@ export default defineConfig({
17
index: './src/index.ts',
18
providers: './src/providers/index.ts',
19
utils: './src/utils/index.ts',
20
+ hooks: './src/hooks/index.ts',
21
},
22
name: '@windingtree/sdk-react',
23
formats: ['es', 'cjs'],
0 commit comments