@@ -5,7 +5,6 @@ import { Skeleton } from '../../components/ui/Skeleton';
5
5
import { Input } from '../../components/ui/input/Input' ;
6
6
import { apiPatchUser , useUser } from '../../hooks/useUser' ;
7
7
import DashboardLayout from '../../layout/DashboardLayout' ;
8
- import { CopyButton } from '../../components/ui/button/CopyButton' ;
9
8
import { Pencil1Icon } from '@radix-ui/react-icons' ;
10
9
import { useToast } from '../../hooks/useToast' ;
11
10
import { Tooltip , TooltipContent , TooltipTrigger } from '../../components/ui/Tooltip' ;
@@ -74,7 +73,6 @@ export const UserSettings: React.FC = () => {
74
73
disabled = { ! edit }
75
74
after = {
76
75
< div className = "flex gap-1 items-center" >
77
- < CopyButton text = { name } />
78
76
{ ! edit && (
79
77
< Tooltip delayDuration = { 0 } >
80
78
< TooltipTrigger asChild >
@@ -101,7 +99,7 @@ export const UserSettings: React.FC = () => {
101
99
< div className = "flex justify-end gap-1 items-center" >
102
100
< Button
103
101
size = { 'sm' }
104
- variant = { 'zombie ' }
102
+ variant = { 'zinc ' }
105
103
onClick = { ( ) => {
106
104
setName ( user ! . name ) ;
107
105
setEdit ( false ) ;
@@ -117,18 +115,7 @@ export const UserSettings: React.FC = () => {
117
115
</ div >
118
116
< div className = "flex flex-col gap-5" >
119
117
< h3 className = "font-semibold text-sm text-white" > Email</ h3 >
120
- < Input
121
- ref = { ref }
122
- variant = { 'flat' }
123
- inputSize = { 'lg' }
124
- value = { user ! . email }
125
- disabled = { true }
126
- after = {
127
- < div className = "flex gap-1 items-center" >
128
- < CopyButton text = { user ! . email } />
129
- </ div >
130
- }
131
- />
118
+ < p className = "text-white text-sm" > { user ! . email } </ p >
132
119
</ div >
133
120
</ div >
134
121
</ DashboardLayout >
0 commit comments