This commit is contained in:
Nathan Vasse
2024-09-12 17:28:19 +02:00
parent 5106292964
commit aeb7096719
@@ -120,18 +120,10 @@ export const MemberItem = ({
)}
{(isLastOwner || isOtherOwner) && (
<Box $margin={{ top: 'tiny' }}>
<Alert
canClose={false}
type={VariantType.WARNING}
icon={
<Text className="material-icons" $theme="warning">
warning
</Text>
}
>
<Alert canClose={false} type={VariantType.WARNING}>
{isLastOwner && (
<Box $direction="column" $gap="0.2rem">
<Text $theme="warning">
<Text>
{t(
'You are the sole owner of this group, make another member the group owner before you can change your own role or be removed from your document.',
)}