mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-24 13:31:50 +02:00
spinner tweaks
This commit is contained in:
@@ -15,6 +15,10 @@ import { memo } from "react"
|
||||
export default memo(function SwapChart({ chartData }: { chartData: ChartData }) {
|
||||
const { yAxisWidth, updateYAxisWidth } = useYAxisWidth()
|
||||
|
||||
if (chartData.systemStats.length === 0) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<ChartContainer
|
||||
|
||||
Reference in New Issue
Block a user