Skip to content

Commit

Permalink
feat: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yashdesu committed Oct 24, 2024
1 parent 2dad287 commit bf3faad
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/pages/passport/components/UserProfileEdit.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1239,11 +1239,15 @@
item,
provider: rpcProvider,
local: isLocal,
classNames: profile?.skins
?.at(0)
?.clips?.find((clip) => clip.payload === item.payload)
? 'border-2 border-surface-ink'
: 'border border-surface-300',
classNames:
profile?.skins
?.at(0)
?.clips?.find((clip) => clip.payload === item.payload) ||
profile?.skins
?.at(0)
?.spotlight?.find((clip) => clip.payload === item.payload)
? 'border-2 border-surface-ink'
: 'border border-surface-300',
}}
/>
</li>
Expand Down

0 comments on commit bf3faad

Please sign in to comment.