Skip to content

Commit 214117a

Browse files
committed
fix: condition for error page
1 parent 573d8ce commit 214117a

File tree

1 file changed

+1
-1
lines changed
  • packages/frontend/src/pages/AiBuilder/components/StepsPreview

1 file changed

+1
-1
lines changed

packages/frontend/src/pages/AiBuilder/components/StepsPreview/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export default function StepsPreview() {
210210
})
211211
}
212212

213-
if (error || !steps || steps.length === 0) {
213+
if (error || !steps) {
214214
return (
215215
<Center h="80%">
216216
<Flex

0 commit comments

Comments
 (0)