Skip to content

Commit da1c49c

Browse files
authored
Merge pull request #80 from cloudera/DSE-45484-final
2 parents 05b3fa2 + 7258eb4 commit da1c49c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/client/src/pages/DataGenerator/Prompt.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ const Prompt = () => {
112112
mutationFn: fetchSeedList
113113
});
114114

115-
useEffect(() => {
116-
if (!isEmpty(mutation.data && !mutation.isError)) {
115+
useEffect(() => {
116+
if (!isEmpty(mutation.data) && !mutation.isError) {
117117
const seeds = mutation.data.map((item: string) => item.trim());
118118
setItems(seeds);
119119
form.setFieldValue('topics', seeds);

0 commit comments

Comments
 (0)