Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Sep 19, 2024
1 parent 9bf56d8 commit 8dd99af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface UseTreeViewIdState {
}

interface UseTreeViewIdContextValue {
treeId: string;
treeId: string | undefined;
}

export type UseTreeViewIdSignature = TreeViewPluginSignature<{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ export const createTreeViewDefaultId = () => {
*/
export const generateTreeItemIdAttribute = ({
id,
treeId,
treeId = '',
itemId,
}: {
id: TreeViewItemId | undefined;
treeId: TreeViewItemId;
treeId: string | undefined;
itemId: string;
}): string => {
if (id != null) {
Expand Down

0 comments on commit 8dd99af

Please sign in to comment.