Fix build: remove unused imports, set CI=false for react-scripts build

This commit is contained in:
root
2026-04-28 14:22:19 +00:00
parent e13b18c169
commit 1186f9f807
4 changed files with 5 additions and 5 deletions

View File

@@ -164,7 +164,7 @@ const API_HOST = process.env.REACT_APP_API_HOST || 'http://localhost:3001';
const severityLevels = ['All Severities', 'Critical', 'High', 'Medium', 'Low'];
export default function App() {
const { isAuthenticated, loading: authLoading, canWrite, canDelete, canExport, isAdmin, user } = useAuth();
const { isAuthenticated, loading: authLoading, canWrite, canDelete, canExport, isAdmin } = useAuth();
const [searchQuery, setSearchQuery] = useState('');
const [selectedVendor, setSelectedVendor] = useState('All Vendors');
const [selectedSeverity, setSelectedSeverity] = useState('All Severities');
@@ -899,7 +899,7 @@ export default function App() {
});
};
const openAddArcherTicketForCVE = (cve_id, vendor) => {
const _openAddArcherTicketForCVE = (cve_id, vendor) => {
setAddArcherTicketContext({ cve_id, vendor });
setArcherTicketForm({ exc_number: '', archer_url: '', status: 'Draft', cve_id, vendor });
setShowAddArcherTicket(true);