fix: React.useState -> useState in PBSTab
This commit is contained in:
parent
1204e05d0b
commit
7ebbdc76cb
@ -954,8 +954,8 @@ function formatUptime(seconds) {
|
||||
}
|
||||
|
||||
function PBSTab({ pbs, agentId, sys }) {
|
||||
const [loading, setLoading] = React.useState({})
|
||||
const [feedback, setFeedback] = React.useState({})
|
||||
const [loading, setLoading] = useState({})
|
||||
const [feedback, setFeedback] = useState({})
|
||||
|
||||
if (!pbs?.available) return <div className="p-4 text-gray-500">Keine PBS-Daten verfuegbar</div>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user