@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.esm.js
CHANGED
|
@@ -2179,14 +2179,7 @@ const useRowEmbeddingsQuery = ({ flow } = {}) => {
|
|
|
2179
2179
|
const message = err instanceof Error ? err.message : String(err);
|
|
2180
2180
|
notify.error(`Row embeddings query failed: ${message}`);
|
|
2181
2181
|
},
|
|
2182
|
-
onSuccess: (
|
|
2183
|
-
const count = data?.length ?? 0;
|
|
2184
|
-
if (count > 0) {
|
|
2185
|
-
notify.success(`Found ${count} matching record${count !== 1 ? "s" : ""}`);
|
|
2186
|
-
}
|
|
2187
|
-
else {
|
|
2188
|
-
notify.info("No matching records found");
|
|
2189
|
-
}
|
|
2182
|
+
onSuccess: () => {
|
|
2190
2183
|
},
|
|
2191
2184
|
});
|
|
2192
2185
|
useActivity(mutation.isPending, "Querying row embeddings");
|
|
@@ -2286,7 +2279,6 @@ const useRowsQuery = ({ flow } = {}) => {
|
|
|
2286
2279
|
notify.error(`GraphQL query failed: ${errorMessage}`);
|
|
2287
2280
|
},
|
|
2288
2281
|
onSuccess: () => {
|
|
2289
|
-
notify.success("GraphQL query executed successfully");
|
|
2290
2282
|
},
|
|
2291
2283
|
});
|
|
2292
2284
|
// Show loading indicator for query operations
|