fix: Refactor imports in OfflineMode, Settings, and API services
Some checks failed
Frontend (React) / test (18) (push) Failing after 1m46s
Frontend (React) / test (20) (push) Failing after 1m37s
Frontend (React) / lighthouse (push) Has been skipped
Frontend (React) / build (push) Has been skipped
Docker Build and Push / build-and-push (push) Failing after 44s
Integration Tests / integration-tests (push) Failing after 2m39s
LabFusion CI/CD Pipeline / service-adapters (push) Successful in 1m7s
Integration Tests / performance-tests (push) Has been skipped
LabFusion CI/CD Pipeline / frontend (push) Successful in 8m37s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 1m30s
LabFusion CI/CD Pipeline / api-docs (push) Successful in 1m46s
Frontend (React) / test (16) (push) Failing after 1m38s

### Summary of Changes
- Removed unused imports from `OfflineMode.js` and `Settings.js` to streamline the code.
- Cleaned up the import statements in `api.js` by eliminating the unused `formatServiceData` and `formatEventData` functions.

### Expected Results
- Improved code clarity and maintainability by adhering to clean code principles and reducing unnecessary dependencies.
This commit is contained in:
GSRN
2025-09-16 09:04:19 +02:00
parent 1f98e03c02
commit d8dcca386e
3 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { Alert, Button, Space } from 'antd';
import { WifiOutlined, ReloadOutlined } from '@ant-design/icons';
import { ReloadOutlined } from '@ant-design/icons';
const OfflineMode = ({ onRetry }) => {
return (