Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions moon/apps/web/components/CodeView/TreeView/BreadCrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { BreadcrumbLabel } from '@/components/Titlebar/BreadcrumbTitlebar'
import { Link } from '@gitmono/ui'
import { UrlObject } from 'url';

const Bread = ({ path }:any) => {
const Breadcrumb = ({ path }:any) => {

Copilot AI Jun 10, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid using any for the path prop. Define a precise type (e.g., string[] or a specific path object) to improve type safety and maintainability.

Copilot uses AI. Check for mistakes.
const router = useRouter();
const scope = router.query.org as string

Expand Down Expand Up @@ -46,4 +46,4 @@ const Bread = ({ path }:any) => {
);
};

export default Bread;
export default Breadcrumb;
Loading