nicolium: oxlint and oxfmt migration, remove eslint
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@@ -17,14 +17,15 @@ const GroupAvatar = (props: IGroupAvatar) => {
|
||||
|
||||
return (
|
||||
<Avatar
|
||||
className={
|
||||
clsx('relative rounded-lg', {
|
||||
'shadow-[0_0_0_2px_theme(colors.primary.600),0_0_0_4px_theme(colors.white)]': isOwner && withRing,
|
||||
'dark:shadow-[0_0_0_2px_theme(colors.primary.600),0_0_0_4px_theme(colors.gray.800)]': isOwner && withRing,
|
||||
'shadow-[0_0_0_2px_theme(colors.primary.600)]': isOwner && !withRing,
|
||||
'shadow-[0_0_0_2px_theme(colors.white)] dark:shadow-[0_0_0_2px_theme(colors.gray.800)]': !isOwner && withRing,
|
||||
})
|
||||
}
|
||||
className={clsx('relative rounded-lg', {
|
||||
'shadow-[0_0_0_2px_theme(colors.primary.600),0_0_0_4px_theme(colors.white)]':
|
||||
isOwner && withRing,
|
||||
'dark:shadow-[0_0_0_2px_theme(colors.primary.600),0_0_0_4px_theme(colors.gray.800)]':
|
||||
isOwner && withRing,
|
||||
'shadow-[0_0_0_2px_theme(colors.primary.600)]': isOwner && !withRing,
|
||||
'shadow-[0_0_0_2px_theme(colors.white)] dark:shadow-[0_0_0_2px_theme(colors.gray.800)]':
|
||||
!isOwner && withRing,
|
||||
})}
|
||||
src={group.avatar}
|
||||
alt={group.avatar_description}
|
||||
size={size}
|
||||
|
||||
@@ -59,7 +59,13 @@ const GroupPopover = (props: IGroupPopoverContainer) => {
|
||||
</div>
|
||||
|
||||
{/* Group Info */}
|
||||
<Stack alignItems='center' justifyContent='end' grow className='basis-1/2 py-4' space={0.5}>
|
||||
<Stack
|
||||
alignItems='center'
|
||||
justifyContent='end'
|
||||
grow
|
||||
className='basis-1/2 py-4'
|
||||
space={0.5}
|
||||
>
|
||||
<Text size='lg' weight='bold'>
|
||||
<Emojify text={group.display_name} emojis={group.emojis} />
|
||||
</Text>
|
||||
@@ -78,7 +84,10 @@ const GroupPopover = (props: IGroupPopoverContainer) => {
|
||||
<FormattedMessage id='group.popover.title' defaultMessage='Membership required' />
|
||||
</Text>
|
||||
<Text theme='muted'>
|
||||
<FormattedMessage id='group.popover.summary' defaultMessage='You must be a member of the group in order to reply to this status.' />
|
||||
<FormattedMessage
|
||||
id='group.popover.summary'
|
||||
defaultMessage='You must be a member of the group in order to reply to this status.'
|
||||
/>
|
||||
</Text>
|
||||
</Stack>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user