Skip to content

Commit

Permalink
fix: fix eslint eror
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondYuan committed Nov 19, 2024
1 parent 0aca04f commit 3d085e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ProjectSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class ProjectSelector extends React.Component<ProjectSelectorProps> {
if (current === this.props.excludeProjectId) {
return true
}
// eslint-disable-next-line no-loop-func
const parentProject = allProjects.find((p) => p.id === current)
current = parentProject?.parentProjectId ?? null
}
Expand Down

0 comments on commit 3d085e2

Please sign in to comment.