mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
Fix code quality issues and remove unused imports
- Remove unused imports: useAppDispatch and clearToken from Home.tsx - Remove unused dispatch variable from Home component - Resolve TypeScript compilation errors - Maintain existing functionality and code patterns 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -4,13 +4,10 @@ import { TELEGRAM_BOT_USERNAME } from '../utils/config';
|
||||
import ConnectionIndicator from '../components/ConnectionIndicator';
|
||||
import TelegramConnectionIndicator from '../components/TelegramConnectionIndicator';
|
||||
import GmailConnectionIndicator from '../components/GmailConnectionIndicator';
|
||||
import { useAppDispatch } from '../store/hooks';
|
||||
import { clearToken } from '../store/authSlice';
|
||||
import { useUser } from '../hooks/useUser';
|
||||
|
||||
const Home = () => {
|
||||
const navigate = useNavigate();
|
||||
const dispatch = useAppDispatch();
|
||||
const { user } = useUser();
|
||||
const userName = user?.firstName || 'User';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user