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.
2 parents 05b3fa2 + 7258eb4 commit da1c49cCopy full SHA for da1c49c
app/client/src/pages/DataGenerator/Prompt.tsx
@@ -112,8 +112,8 @@ const Prompt = () => {
112
mutationFn: fetchSeedList
113
});
114
115
- useEffect(() => {
116
- if (!isEmpty(mutation.data && !mutation.isError)) {
+ useEffect(() => {
+ if (!isEmpty(mutation.data) && !mutation.isError) {
117
const seeds = mutation.data.map((item: string) => item.trim());
118
setItems(seeds);
119
form.setFieldValue('topics', seeds);
0 commit comments