Skip to content

Commit 77733aa

Browse files
committed
fix(breadcrumb): update useRef type to allow any for broader compatibility
1 parent 7b68424 commit 77733aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/components/breadcrumb/breadcrumb.lite.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ useDefaultProps<DBBreadcrumbProps>({
1919
});
2020

2121
export default function DBBreadcrumb(props: DBBreadcrumbProps) {
22-
const _ref = useRef<HTMLElement | null>(null);
22+
const _ref = useRef<HTMLElement | any>(null);
2323

2424
const state = useStore<DBBreadcrumbState>({
2525
isExpanded: false,

0 commit comments

Comments
 (0)