diff --git a/frontend/src/components/admin/models/ModelEditForm.jsx b/frontend/src/components/admin/models/ModelEditForm.jsx
index 952c52f..2f3210a 100644
--- a/frontend/src/components/admin/models/ModelEditForm.jsx
+++ b/frontend/src/components/admin/models/ModelEditForm.jsx
@@ -376,7 +376,6 @@ const ModelEditForm = ({
{/* vLLM GPU Configuration */}
- {!isExternalModel && (
GPU Configuration
@@ -536,7 +535,6 @@ const ModelEditForm = ({
)}
- )}
)}
diff --git a/frontend/src/components/admin/models/PrimaryModelCard.jsx b/frontend/src/components/admin/models/PrimaryModelCard.jsx
index 70cc8d2..63bc781 100644
--- a/frontend/src/components/admin/models/PrimaryModelCard.jsx
+++ b/frontend/src/components/admin/models/PrimaryModelCard.jsx
@@ -18,7 +18,7 @@ const PrimaryModelCard = ({ model, onStatusChange }) => {
const [loading, setLoading] = useState(true);
const [primaryModelData, setPrimaryModelData] = useState(null);
// eslint-disable-next-line no-unused-vars
- const [intervalId, setIntervalId] = useState(null);
+ const [, setIntervalId] = useState(null);
const [error, setError] = useState(null);
const [isSettingPrimary, setIsSettingPrimary] = useState(false);
const [isUnsettingPrimary, setIsUnsettingPrimary] = useState(false);
diff --git a/frontend/src/components/admin/privacy/AirGappedTab.jsx b/frontend/src/components/admin/privacy/AirGappedTab.jsx
index c23da7b..59454b2 100644
--- a/frontend/src/components/admin/privacy/AirGappedTab.jsx
+++ b/frontend/src/components/admin/privacy/AirGappedTab.jsx
@@ -81,7 +81,7 @@ const AirGappedTab = ({ onSettingChange }) => {
}
} catch (err) {
const errorMsg = `Error toggling air-gapped mode: ${err.response?.data?.message || err.message}.`;
- setError(errorMsg || 'Failed to update setting.');
+ setError(errorMsg);
setIsAirGapped(originalState);
} finally {
setProcessingToggle(false);
@@ -118,10 +118,10 @@ const AirGappedTab = ({ onSettingChange }) => {
{/* Standard Button Toggle */}
|