Skip to content

Commit 8f648fa

Browse files
committed
fix useCallback
1 parent 9505f33 commit 8f648fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/expandable/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export function Expandable({
115115
setCopied(false);
116116
}
117117
},
118-
[]
118+
[emit, title]
119119
);
120120

121121
function toggleIsExpanded(event: React.MouseEvent<HTMLDetailsElement>) {

0 commit comments

Comments
 (0)