"use client";

import useMonitoring from "../../hooks/useMonitoring";

export default function MonitoringWorkspace(){

const {loading,data}=useMonitoring();

return(
<div className="w-full h-full bg-zinc-950 text-white">

<div className="border-b border-zinc-800 p-4 text-xl font-semibold">
Production Monitoring
</div>

<pre className="p-4 overflow-auto">
{loading ? "Loading..." : JSON.stringify(data,null,2)}
</pre>

</div>
);

}
