Skip to content

fix: remove duplicate LiveClock component from Dashboard header#1668

Open
prakhargaba007 wants to merge 1 commit into
aryandas2911:mainfrom
prakhargaba007:fix/remove-duplicate-liveclock
Open

fix: remove duplicate LiveClock component from Dashboard header#1668
prakhargaba007 wants to merge 1 commit into
aryandas2911:mainfrom
prakhargaba007:fix/remove-duplicate-liveclock

Conversation

@prakhargaba007

Copy link
Copy Markdown

Summary

Fixes issue #1605 — the LiveClock component was being rendered twice on the Dashboard: once in the left section (next to the greeting) and once in the right section (below the profile image). This caused the time to display in two places simultaneously, which was visually redundant.

Changes

  • Removed the duplicate <LiveClock /> instance from the right section of the Dashboard header (frontend/src/pages/Dashboard.jsx)
  • The first instance (line 278, left section) is kept — the clock remains visible once

Verification

  • After the fix, only one <LiveClock /> usage and its import remain in the file
  • No other files were modified

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.

1 participant