mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +02:00
refactor: extract user avatar color and initials logic into a new utility module, update related components to use the new functions
This commit is contained in:
parent
87caa4b6d0
commit
e0ecea61f8
6 changed files with 65 additions and 63 deletions
|
|
@ -251,7 +251,7 @@ export function UserSettingsPanel({
|
|||
<div className="min-w-0 flex-1">
|
||||
<div className="hidden md:block">
|
||||
<h2 className="text-lg font-semibold">{selectedLabel}</h2>
|
||||
<Separator className="mt-4" />
|
||||
<Separator className="mt-4 bg-border" />
|
||||
</div>
|
||||
<div className="min-w-0 pt-4 md:max-w-3xl">
|
||||
{selectedTab === "profile" && <ProfileContent />}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue