mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
fix: Set pointer cursor and simplify devName access
This commit is contained in:
1 parent
5b9ff7acb3
commit
2ab576a37c
2 files changed
+2
-2
No files matched your search
@@ -21,7 +21,7 @@ export function CopyableCode({
|
||||
<Tooltip open={copied} content={strings.website.common.copy_button.copied}>
|
||||
<Code
|
||||
{...props}
|
||||
style={{ ...(copy ? { cursor: "copy" } : {}), ...style }}
|
||||
style={{ ...style, cursor: "pointer" }}
|
||||
onClick={(event) => {
|
||||
onClick?.(event);
|
||||
if (!copy) return;
|
||||
|
||||
Reference in new issue
Block a user