Skip to content

Commit

Permalink
fix: encode email while showing workspace details view (#923)
Browse files Browse the repository at this point in the history
YounixM authored Oct 28, 2024
1 parent 8f09128 commit 3c323d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/workspace-setup/WorkspaceReady.tsx
Original file line number Diff line number Diff line change
@@ -17,6 +17,8 @@ function WorkspaceReady({
workspaceData: any
userEmail: string | null
}) {
const decodedEmail = decodeURIComponent(userEmail || '')

const handleCopyWorkspaceLink = () => {
navigator.clipboard.writeText(workspaceData?.invite_link)
}
@@ -60,7 +62,7 @@ function WorkspaceReady({
<div className="flex items-center gap-2 text-sm">
<AtSignIcon size={16} /> Sign-up email
</div>
<div className="text-sm text-signoz_robin-500">{userEmail}</div>
<div className="text-sm text-signoz_robin-500">{decodedEmail}</div>
</div>
</div>
</div>

0 comments on commit 3c323d2

Please sign in to comment.