Merge pull request #182 from leoshimo/leoshimo/181-sampling-dark-mode

fix: add dark mode support to SamplingTab JSON display (#181)
This commit is contained in:
Ola Hungerford 2025-03-12 13:06:24 -07:00 • committed by GitHub
commit 498c02b0f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,7 @@ const SamplingTab = ({ pendingRequests, onApprove, onReject }: Props) => {
<h3 className="text-lg font-semibold">Recent Requests</h3>
{pendingRequests.map((request) => (
<div key={request.id} className="p-4 border rounded-lg space-y-4">
<pre className="bg-gray-50 p-2 rounded">
<pre className="bg-gray-50 dark:bg-gray-800 dark:text-gray-100 p-2 rounded">
{JSON.stringify(request.request, null, 2)}
</pre>
<div className="flex space-x-2">