🩹 Fix: Remove unused imports causing build failure

This commit is contained in:
Hamza-Ayed
2026-04-19 15:30:12 +03:00
parent ef9baf33f7
commit 946c7db96c
2 changed files with 2 additions and 7 deletions

View File

@@ -5,12 +5,10 @@
*/
import { useState, useEffect } from 'react';
import { Settings, Building, Save, Shield, Globe, Mail } from 'lucide-react';
import { motion } from 'framer-motion';
import { Building, Save, Shield, Globe } from 'lucide-react';
import apiClient from '../../api/client';
export const SettingsPage = () => {
const [isLoading, setIsLoading] = useState(true);
const [isSaving, setIsSaving] = useState(false);
// Tenant Profile State
@@ -20,7 +18,6 @@ export const SettingsPage = () => {
const [address, setAddress] = useState('');
const fetchSettings = async () => {
setIsLoading(true);
try {
// Get current tenant info (usually from a profile or me endpoint)
const { data } = await apiClient.get('/auth/me'); // Assuming there's a me endpoint for the tenant
@@ -29,8 +26,6 @@ export const SettingsPage = () => {
// phone and address might be null
} catch (error) {
console.error('Failed to fetch settings', error);
} finally {
setIsLoading(false);
}
};

View File

@@ -5,7 +5,7 @@
*/
import { useState, useEffect } from 'react';
import { Users, UserPlus, Shield, Mail, Phone, Trash2, Power } from 'lucide-react';
import { Users, UserPlus, Mail, Power } from 'lucide-react';
import { motion, AnimatePresence } from 'framer-motion';
import apiClient from '../../api/client';