Fix Statusbar rendering NaN% for unsupported GPUs (#11655)

This commit is contained in:
Tom B 2024-05-30 15:10:24 -04:00 committed by GitHub
parent 142641b387
commit 35946d332d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,6 +81,10 @@ export default function Statusbar() {
const gpu = parseInt(stats.gpu);
if (isNaN(gpu)) {
return;
}
return (
<Link key={gpuTitle} to="/system#general">
{" "}