@trustgraph/react-state 1.4.4 → 1.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2180,14 +2180,7 @@ const useRowEmbeddingsQuery = ({ flow } = {}) => {
2180
2180
  const message = err instanceof Error ? err.message : String(err);
2181
2181
  notify.error(`Row embeddings query failed: ${message}`);
2182
2182
  },
2183
- onSuccess: (data) => {
2184
- const count = data?.length ?? 0;
2185
- if (count > 0) {
2186
- notify.success(`Found ${count} matching record${count !== 1 ? "s" : ""}`);
2187
- }
2188
- else {
2189
- notify.info("No matching records found");
2190
- }
2183
+ onSuccess: () => {
2191
2184
  },
2192
2185
  });
2193
2186
  useActivity(mutation.isPending, "Querying row embeddings");
@@ -2287,7 +2280,6 @@ const useRowsQuery = ({ flow } = {}) => {
2287
2280
  notify.error(`GraphQL query failed: ${errorMessage}`);
2288
2281
  },
2289
2282
  onSuccess: () => {
2290
- notify.success("GraphQL query executed successfully");
2291
2283
  },
2292
2284
  });
2293
2285
  // Show loading indicator for query operations