Skip to content

Commit d284edb

Browse files
committed
code review
1 parent 66e44f8 commit d284edb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/generators/web/ui/components/CodeBox.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ export default ({ className, ...props }) => {
4242

4343
return (
4444
<BaseCodeBox
45-
as={'a'}
4645
onCopy={onCopy}
4746
language={getLanguageDisplayName(language)}
4847
{...props}
49-
buttonText={'Copy to clipboard'}
48+
buttonText='Copy to clipboard'
5049
/>
5150
);
5251
};

0 commit comments

Comments
 (0)