Skip to content

Commit d2d1b79

Browse files
avivkellerovflowd
andauthored
Apply suggestions from code review
Co-authored-by: Claudio W. <cwunder@gnome.org> Signed-off-by: Aviv Keller <me@aviv.sh>
1 parent cf5e162 commit d2d1b79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/site/components/Common/CodeBox.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const CodeBox: FC<PropsWithChildren<CodeBoxProps>> = props => {
2222

2323
const onCopy = (text: string) => {
2424
copyToClipboard(text);
25+
2526
notify({
2627
duration: 300,
2728
message: (
@@ -32,6 +33,7 @@ const CodeBox: FC<PropsWithChildren<CodeBoxProps>> = props => {
3233
),
3334
});
3435
};
36+
3537
return (
3638
<BaseCodeBox
3739
as={Link}

0 commit comments

Comments
 (0)