mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-27 04:56:37 +00:00
refactor: reorder arguments in web ui
This commit is contained in:
1 parent
d7984c12f0
commit
5e090cebdb
61 files changed
+547
-578
No files matched your search
@@ -40,7 +40,7 @@ export default function CopyButton({ text }: CopyButtonProps): React.JSX.Element
|
||||
};
|
||||
|
||||
return <Tooltip title={copied ? "Copied!" : "Copy"}>
|
||||
<IconButton size="small" aria-label={copied ? "Copied" : "Copy"} onClick={() => void handleCopy()}>
|
||||
<IconButton aria-label={copied ? "Copied" : "Copy"} onClick={() => void handleCopy()} size="small">
|
||||
{copied ? <CheckIcon fontSize="small" /> : <ContentCopyIcon fontSize="small" />}
|
||||
</IconButton>
|
||||
</Tooltip>;
|
||||
|
||||
Reference in new issue
Block a user