fix: physical node page display error

Fix display error when node information cannot be obtained

Change-Id: Ife201c5f04766f1a304b1bb1b562e643ad5ed0cb
This commit is contained in:
zhangjingwei 2024-03-28 10:41:57 +08:00
parent 8613ef39f3
commit 46f3668f8e

View File

@ -14,6 +14,9 @@ const useNodeSelect = (defaultNode) => {
};
const Nodes = () => {
if (!nodes.length) {
return null;
}
const key = getKey();
return (
<div style={{ marginBottom: 16 }}>