Skip to content

Commit

Permalink
fix(ui): Fix pnpm lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllimyt committed Dec 24, 2024
1 parent 4cb82f3 commit 07c6a48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/dashboard/workflows-dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export function WorkflowsDashboard() {

// If we nagivate to a tag that doesn't exist, redirect to the workflows page
if (queryTag && !tags?.some((tag) => tag.name === queryTag)) {
return router.push(`/workspaces/${workspaceId}/workflows`)
router.push(`/workspaces/${workspaceId}/workflows`)
return null
}
return (
<div className="size-full overflow-auto">
Expand Down

0 comments on commit 07c6a48

Please sign in to comment.