Skip to content

Commit

Permalink
fix: make displayValue an optional prop for CopyContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelblijleven committed Jan 1, 2024
1 parent 20590e0 commit 061763d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/copy-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {Button} from "@/components/ui/button";

interface CopyContainerProps extends HTMLAttributes<HTMLButtonElement> {
value: string;
displayValue: string;
displayValue?: string;
}

const CopyContainer = ({value, displayValue, ...props}: CopyContainerProps) => {
Expand Down

0 comments on commit 061763d

Please sign in to comment.