Skip to content

Commit

Permalink
fix(message-preview): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Jun 6, 2024
1 parent a074c02 commit b3f293c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/api-operation-page/message-preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ const MessagePreview = ({
}}
onClick={() => copyToClipboard(fetchedData, "Nom copié")}
>
{fetchedData
? `${fetchedData} ${data.name}`
: "Nom non-inéxistant sur scanR"}
{fetchedData ? `${fetchedData}` : "Nom non-inéxistant sur scanR"}
{copySuccess === "Nom copié" && (
<span
style={{
Expand Down

0 comments on commit b3f293c

Please sign in to comment.