File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -193,22 +193,10 @@ export const SponsoredFeedsTable = ({
193
193
< code className = "text-xs font-mono text-gray-600 dark:text-gray-400 break-all leading-relaxed" >
194
194
{ feed . account_address }
195
195
</ code >
196
- < button
197
- onClick = { ( ) =>
198
- feed . account_address &&
199
- copyToClipboard ( feed . account_address )
200
- }
201
- className = "p-1 hover:bg-gray-200 dark:hover:bg-gray-600 rounded flex-shrink-0 mt-0.5"
202
- title = "Copy Account Address"
203
- >
204
- { copiedText === feed . account_address ? (
205
- < span className = "text-green-500 text-xs font-bold" >
206
- ✓
207
- </ span >
208
- ) : (
209
- < CopyIcon className = "w-3 h-3 text-gray-400" />
210
- ) }
211
- </ button >
196
+ < CopyButton
197
+ value = { feed . account_address }
198
+ className = "ml-2"
199
+ />
212
200
</ div >
213
201
) : null }
214
202
</ td >
You can’t perform that action at this time.
0 commit comments