Skip to content

Comments

chore: remove unused imports in Avatar component#1000

Draft
Copilot wants to merge 5 commits intomasterfrom
copilot/sub-pr-995
Draft

chore: remove unused imports in Avatar component#1000
Copilot wants to merge 5 commits intomasterfrom
copilot/sub-pr-995

Conversation

Copy link

Copilot AI commented Jan 28, 2026

Removed unused useEffect and User type imports from Avatar.tsx that were flagged in code review.

Changes:

  • Removed useEffect from React imports (not used after refactoring toggle logic)
  • Removed User type import (component uses useUser hook with type inference)
// Before
import React, { FC, useState, useEffect } from 'react';
import type { User } from '../../../../types/models';

// After
import React, { FC, useState } from 'react';

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

moshfeu and others added 5 commits December 7, 2025 22:50
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Base automatically changed from feat/allow-changing-avatar to master January 28, 2026 22:29
Copilot AI changed the title [WIP] Add feature to allow custom avatar selection chore: remove unused imports in Avatar component Jan 28, 2026
Copilot AI requested a review from moshfeu January 28, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants