Skip to content

Commit

Permalink
♻️ chore: debug console
Browse files Browse the repository at this point in the history
  • Loading branch information
yunsii committed Jun 8, 2024
1 parent 404803e commit 9e91502
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/pages/index/components/MonitorPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,17 @@ const MonitorPanel: React.FC<IMonitorPanelProps> = (props) => {
const titleCls = allOperational ? cls`border-green-500 bg-green-300 text-green-800` : cls`border-red-500 bg-red-300 text-red-800`
return (
<div {...restDivProps}>
<div className={cls`
flex items-center justify-between rounded border px-4 py-2 text-lg font-bold shadow-md
${titleCls}
`}
<div
className={cls`
flex items-center justify-between rounded border px-4 py-2 text-lg font-bold shadow-md
${titleCls}
`}
onDoubleClick={() => {
// eslint-disable-next-line no-console
console.log('allMonitors', allMonitors)
// eslint-disable-next-line no-console
console.log('data', data)
}}
>
<div>
{allOperational ? 'All Systems Operational' : 'Not All Systems Operational'}
Expand Down

0 comments on commit 9e91502

Please sign in to comment.