Skip to content

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.

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