Skip to content

Commit

Permalink
app: Fix icon imports for copy button
Browse files Browse the repository at this point in the history
  • Loading branch information
biwano committed Nov 17, 2023
1 parent dd8f135 commit a22979d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/components/CopyValueButton/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { cx } from "@emotion/css";
import CheckIcon from "@mui/icons-material/Check";
import ContentCopyIcon from "@mui/icons-material/ContentCopy";
import { Check, ContentCopy } from "@mui/icons-material";

import React, { FC, useEffect, useState } from "react";

Expand Down Expand Up @@ -30,7 +29,7 @@ export const CopyValueButton: FC<Props> = (props) => {
variant={"transparent"}
{...props}
className={className}
icon={copied ? <CheckIcon /> : <ContentCopyIcon />}
icon={copied ? <Check /> : <ContentCopy />}
onClick={() => cachedValue && doCopy(cachedValue)}
iconPos="suffix"
/>
Expand Down

0 comments on commit a22979d

Please sign in to comment.