fix: add dark mode support to SamplingTab JSON display (#181)
This commit is contained in:
parent
0281e5f821
commit
e5ee00bf89
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ const SamplingTab = ({ pendingRequests, onApprove, onReject }: Props) => {
|
||||||
<h3 className="text-lg font-semibold">Recent Requests</h3>
|
<h3 className="text-lg font-semibold">Recent Requests</h3>
|
||||||
{pendingRequests.map((request) => (
|
{pendingRequests.map((request) => (
|
||||||
<div key={request.id} className="p-4 border rounded-lg space-y-4">
|
<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)}
|
{JSON.stringify(request.request, null, 2)}
|
||||||
</pre>
|
</pre>
|
||||||
<div className="flex space-x-2">
|
<div className="flex space-x-2">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue