Skip to content

Commit c8c2bc7

Browse files
committed
fix for solana
1 parent 02885cd commit c8c2bc7

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

components/SponsoredFeedsTableWithData.tsx

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -193,22 +193,10 @@ export const SponsoredFeedsTable = ({
193193
<code className="text-xs font-mono text-gray-600 dark:text-gray-400 break-all leading-relaxed">
194194
{feed.account_address}
195195
</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+
/>
212200
</div>
213201
) : null}
214202
</td>

0 commit comments

Comments
 (0)